Constructor and Description |
---|
Size()
Initializes a new instance of the
Size class. |
Size(int width,
int height)
Initializes a new instance of the
Size class and specify a Height and Width in pixels. |
Size(Length width,
Length height)
Initializes a new instance of the
Size class. |
Modifier and Type | Method and Description |
---|---|
Size |
deepClone() |
Length |
getHeight()
Gets or sets the vertical component of this
Size . |
Length |
getWidth()
Gets or sets the horizontal component of this
Size . |
void |
setHeight(Length value)
Gets or sets the vertical component of this
Size . |
void |
setWidth(Length value)
Gets or sets the horizontal component of this
Size . |