Inherits from TiProxy : NSObject
Declared in TiRect.h

Overview

The class for rectangle object proxy.

Tasks

  • – setRect:

    Initializes the rect proxy from rect struct.

  • – rect

    Returns rect struct.

  •   x

    Provides access to rectangle x coordinate.

    property
  •   y

    Provides access to rectangle y coordinate.

    property
  •   width

    Provides access to rectangle width.

    property
  •   height

    Provides access to rectangle height.

    property

Properties

height

Provides access to rectangle height.

@property (nonatomic, retain) NSNumber *height

Declared In

TiRect.h

width

Provides access to rectangle width.

@property (nonatomic, retain) NSNumber *width

Declared In

TiRect.h

x

Provides access to rectangle x coordinate.

@property (nonatomic, retain) NSNumber *x

Declared In

TiRect.h

y

Provides access to rectangle y coordinate.

@property (nonatomic, retain) NSNumber *y

Declared In

TiRect.h

Instance Methods

rect

Returns rect struct.

- (CGRect)rect

Return Value

The rect struct.

Declared In

TiRect.h

setRect:

Initializes the rect proxy from rect struct.

- (void)setRect:(CGRect)rect_

Parameters

rect_

The rect struct.

Declared In

TiRect.h