XuniSize Class Reference

Inherits from NSObject
Declared in Drawing.h

Overview

XuniSize.

  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

– init

Initialize an object for XuniSize.

- (id)init

Return Value

return an object of XuniSize.

Discussion

Initialize an object for XuniSize.

Declared In

Drawing.h

– initWidth:height:

Initialize an object for XuniSize with width and height.

- (id)initWidth:(double)width height:(double)height

Parameters

width

the width.

height

the height.

Return Value

an object of XuniSize.

Discussion

Initialize an object for XuniSize with width and height.

Declared In

Drawing.h

– clone

Clone an object of XuniSize.

- (id)clone

Return Value

return an object of XuniSize.

Discussion

Clone an object of XuniSize.

Declared In

Drawing.h

– isEqual:

Judge whether the two sizes are equal.

- (BOOL)isEqual:(XuniSize *)other

Parameters

other

the other size.

Return Value

return a boolean value.

Discussion

Judge whether the two sizes are equal.

Declared In

Drawing.h