public final class CGSize extends Object
| Constructor and Description |
|---|
CGSize(double width,
double height)
Constructs a CGSize object with the specified width and height.
|
| Modifier and Type | Method and Description |
|---|---|
CGSize |
applyAffineTransform(CGAffineTransform t)
Applies the specified affine transformation to this CGSize object.
|
boolean |
equals(Object o) |
double |
getHeight() |
double |
getWidth() |
int |
hashCode() |
void |
setHeight(double height) |
void |
setWidth(double width) |
String |
toString() |
public CGSize(double width,
double height)
width - The width of the CGSize object.height - The height of the CGSize object.public double getWidth()
public void setWidth(double width)
public double getHeight()
public void setHeight(double height)
public CGSize applyAffineTransform(CGAffineTransform t)
t - The affine transformation that will be aplied to the CGSize
objectCGAffineTransformCopyright © 2020. All rights reserved.