XuniRect Class Reference
Inherits from | NSObject |
---|---|
Declared in | Drawing.h |
left
Gets or sets the left of an XuniRect.
@property double left
Discussion
Gets or sets the left of an XuniRect.
Declared In
Drawing.h
top
Gets or sets the top of an XuniRect.
@property double top
Discussion
Gets or sets the top of an XuniRect.
Declared In
Drawing.h
width
Gets or sets the width of an XuniRect.
@property double width
Discussion
Gets or sets the width of an XuniRect.
Declared In
Drawing.h
height
Gets or sets the height of an XuniRect.
@property double height
Discussion
Gets or sets the height of an XuniRect.
Declared In
Drawing.h
right
Gets or sets the right of an XuniRect.
@property (readonly) double right
Discussion
Gets or sets the right of an XuniRect.
Declared In
Drawing.h
bottom
Gets or sets the bottom of an XuniRect.
@property (readonly) double bottom
Discussion
Gets or sets the bottom of an XuniRect.
Declared In
Drawing.h
– init
Initialize an object for XuniRect.
- (id)init
Return Value
return an object of XuniRect.
Discussion
Initialize an object for XuniRect.
Declared In
Drawing.h
– initLeft:top:width:height:
– clone
Clone an object of XuniRect.
- (id)clone
Return Value
return an object of XuniRect.
Discussion
Clone an object of XuniRect.
Declared In
Drawing.h
– isEqual:
Judge whether the two rects are equal.
- (BOOL)isEqual:(XuniRect *)other
Parameters
other |
the other rect. |
---|
Return Value
return a boolean value.
Discussion
Judge whether the two rects are equal.
Declared In
Drawing.h
– containsPoint:
Judge whether the rect contains the point.
- (BOOL)containsPoint:(XuniPoint *)point
Parameters
point |
the point in control coordinates that this HitTestInfo refers to. |
---|
Return Value
return a boolean value.
Discussion
Judge whether the rect contains the point.
Declared In
Drawing.h
– inflate:dy:
Creates a rectangle that results from expanding or shrinking a rectangle by the specified amounts.
- (XuniRect *)inflate:(double)dx dy:(double)dy
Parameters
dx |
the dx. |
---|---|
dy |
the dy. |
Return Value
return an inflated rectangle.
Discussion
Creates a rectangle that results from expanding or shrinking a rectangle by the specified amounts.
Declared In
Drawing.h