public class CanvasSize extends Object
| Constructor and Description |
|---|
CanvasSize()
Constructs the default
CanvasSize, with both width and
height equal to zero. |
CanvasSize(float x,
float y,
float width,
float height)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getHeight()
Returns the canvas height.
|
float |
getMaxX()
Returns the x coordinate of the bottom right position.
|
float |
getMaxY()
Returns the y coordinate of the bottom right position.
|
float |
getWidth()
Returns the canvas width.
|
float |
getX()
Returns the x coordinate of the top left position.
|
float |
getY()
Returns the y coordinate of the top left position.
|
public CanvasSize(float x,
float y,
float width,
float height)
x - The x coordinate of the top left positiony - The y coordinate of the top left positionwidth - The canvas widthheight - The canvas heightpublic CanvasSize()
CanvasSize, with both width and
height equal to zero.public float getX()
public float getY()
public float getWidth()
public float getHeight()
public float getMaxX()
public float getMaxY()
Copyright © 2007–2015 Gephi Consortium. All rights reserved.