TKObjectType Constants Reference

Declared in TKEnums.h

TKObjectType

The type of an object layer’s object. The object type determines which TKObject properties are valid and how they have to be interpreted.

Definition

typedef NS_ENUM(NSInteger, TKObjectType ) {
   TKObjectTypeUndefined,
   TKObjectTypeRectangle,
   TKObjectTypePolygon,
   TKObjectTypePolyLine,
   TKObjectTypeEllipse,
   TKObjectTypeTile,
};

Constants

TKObjectTypeUndefined

The Object type has not been set.

Declared In TKEnums.h.

TKObjectTypeRectangle

Object is a rectangle. It has no points, just position and size.

Declared In TKEnums.h.

TKObjectTypePolygon

Object is a closed polygon made up of at least 3 points. Position equals the first point.

Declared In TKEnums.h.

TKObjectTypePolyLine

Object is a poly line made up of at least 2 points. It has no size and position equals its first point.

Declared In TKEnums.h.

TKObjectTypeEllipse

Object is an ellipse assumed to be touching the sides of the rectangle defined by position and size. If width & height are the same, it’s a special form of an ellipse known as circle.

Declared In TKEnums.h.

TKObjectTypeTile

Object is a tile. It has no points. The tile property determines the tile drawn by the object.

Declared In TKEnums.h.

Declared In

TKEnums.h