TKPredefinedShape Class Reference
Inherits from | TKShape : NSObject |
Declared in | TKPredefinedShape.h |
Overview
Represents a shape class that allows presenting different shapes based on a list with predefined shapes
Properties
type
a The type of the shape.
@property (nonatomic, assign, readonly) TKShapeType type
Discussion
The shape types are defined as follows:
typedef enum TKShapeType { TKShapeTypeNone, // No shape. TKShapeTypeSquare, // Square shape. TKShapeTypeCircle, // Circle shape. TKShapeTypeTriangleUp, // Triangle pointing up. TKShapeTypeTriangleDown, // Triangle pointing down. TKShapeTypeDiamond, // Diamond shape. TKShapeTypeRhombus, // Rhombus shape. TKShapeTypePentagon, // Pentagon shape. TKShapeTypeHexagon, // Hexagon shape. TKShapeTypeStar, // Star shape. TKShapeTypeHeart, // Heart shape. } TKShapeType;
Declared In
TKPredefinedShape.h