Package org.robovm.apple.coregraphics
Class CGRect
public class CGRect extends Struct<CGRect>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCGRect.CGRectPtrNested classes/interfaces inherited from class org.robovm.rt.bro.Struct
Struct.Marshaler -
Constructor Summary
-
Method Summary
Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrapMethods inherited from class org.robovm.rt.bro.NativeObject
getHandle, hashCode, setHandle
-
Constructor Details
-
CGRect
public CGRect() -
CGRect
-
CGRect
public CGRect(double x, double y, double width, double height)
-
-
Method Details
-
getOrigin
-
setOrigin
-
getSize
-
setSize
-
fromString
-
fromDictionary
-
inset
-
equals
- Overrides:
equalsin classNativeObject
-
toString
-
Zero
-
Null
-
Infinite
-
getMinX
public double getMinX() -
getMidX
public double getMidX() -
getMaxX
public double getMaxX() -
getMinY
public double getMinY() -
getMidY
public double getMidY() -
getMaxY
public double getMaxY() -
getWidth
public double getWidth() -
getHeight
public double getHeight() -
equalsTo
-
standardize
-
isEmpty
public boolean isEmpty() -
isNull
public boolean isNull() -
isInfinite
public boolean isInfinite() -
inset
-
integral
-
union
-
intersection
-
offset
-
divide
-
contains
-
contains
-
intersects
-
toDictionary
-
apply
-
getX
public double getX() -
getY
public double getY() -
setX
-
setY
-
setWidth
-
setHeight
-