A rectangle with specified origin and size. More...
#include <com/navigine/idl/objc/NCRectangle.h>
Inherits NSObject.
Instance Methods | |
| (nonnull instancetype) | - initWithX:y:width:height: |
| Default constructor for class NCRectangle. | |
Class Methods | |
| (nonnull instancetype) | + rectangleWithX:y:width:height: |
| Factory method for class NCRectangle. | |
Properties | |
| int32_t | x |
rectangle's origin x coordinate. | |
| int32_t | y |
rectangle's origin y coordinate. | |
| int32_t | width |
| rectangle's width. | |
| int32_t | height |
| rectangle's height. | |
A rectangle with specified origin and size.
Swift code snippet:
Objective C code snippet:
Definition at line 25 of file NCRectangle.h.
| - (nonnull instancetype) initWithX: | (int32_t) | x | |
| y: | (int32_t) | y | |
| width: | (int32_t) | width | |
| height: | (int32_t) | height |
Default constructor for class NCRectangle.
| + (nonnull instancetype) rectangleWithX: | (int32_t) | x | |
| y: | (int32_t) | y | |
| width: | (int32_t) | width | |
| height: | (int32_t) | height |
Factory method for class NCRectangle.
|
readnonatomicassign |
rectangle's height.
Definition at line 68 of file NCRectangle.h.
|
readnonatomicassign |
rectangle's width.
Definition at line 61 of file NCRectangle.h.
|
readnonatomicassign |
rectangle's origin x coordinate.
Definition at line 48 of file NCRectangle.h.
|
readnonatomicassign |
rectangle's origin y coordinate.
Definition at line 54 of file NCRectangle.h.