CCScaleType Constants Reference

Declared in ccTypes.h

CCScaleType

Scale types alter how a node’s scale property values are interpreted. Used by, for instance, [CCNode setScaleType:].

Definition

typedef NS_ENUM(int8_t, CCScaleType ) {
   CCScaleTypePoints,
   CCScaleTypeScaled,
};

Constants

CCScaleTypePoints

Scale is assumed to be in points

Declared In ccTypes.h.

CCScaleTypeScaled

Scale is assumed to be in UI points

Declared In ccTypes.h.

Declared In

ccTypes.h