PAGText Class Reference

Inherits from NSObject
Declared in PAGText.h

Overview

The PAGText object stores a value for a TextLayer’s Source Text property.

  applyFill

When true, the text layer shows a fill.

@property (nonatomic, assign) bool applyFill

Declared In

PAGText.h

  applyStroke

When true, the text layer shows a stroke.

@property (nonatomic, assign) bool applyStroke

Declared In

PAGText.h

  baselineShift

Readonly, external modifications are not valid.

@property (nonatomic, assign) float baselineShift

Declared In

PAGText.h

  boxText

When true, the text layer is paragraph (bounded) text. Readonly, external modifications are not valid.

@property (nonatomic, assign) bool boxText

Declared In

PAGText.h

  boxTextRect

For box text, the pixel boundary for the text bounds. Readonly, external modifications are not valid.

@property (nonatomic, assign) CGRect boxTextRect

Declared In

PAGText.h

  firstBaseLine

Readonly, external modifications are not valid.

@property (nonatomic, assign) float firstBaseLine

Declared In

PAGText.h

  fauxBold

@property (nonatomic, assign) bool fauxBold

  fauxItalic

@property (nonatomic, assign) bool fauxItalic

  fillColor

The text layer’s fill color.

@property (nonatomic, strong) CocoaColor *fillColor

Declared In

PAGText.h

  fontFamily

A string with the name of the font family.

@property (nonatomic, copy) NSString *fontFamily

Declared In

PAGText.h

  fontStyle

A string with the style information — e.g., “bold”, “italic”.

@property (nonatomic, copy) NSString *fontStyle

Declared In

PAGText.h

  fontSize

The text layer’s font size in pixels.

@property (nonatomic, assign) float fontSize

Declared In

PAGText.h

  strokeColor

The text layer’s stroke color.

@property (nonatomic, strong) CocoaColor *strokeColor

Declared In

PAGText.h

  strokeOverFill

Indicates the rendering order for the fill and stroke of a text layer. Readonly, external modifications are not valid.

@property (nonatomic, assign) bool strokeOverFill

Declared In

PAGText.h

  strokeWidth

The text layer’s stroke thickness.

@property (nonatomic, assign) float strokeWidth

Declared In

PAGText.h

  text

The text layer’s Source Text value.

@property (nonatomic, copy) NSString *text

Declared In

PAGText.h

  justification

The paragraph justification for the text layer. Such as : PAGJustificationLeftJustify, PAGJustificationCenterJustify…

@property (nonatomic, assign) uint8_t justification

Declared In

PAGText.h

  leading

The space between lines, 0 indicates ‘auto’, which is fontSize * 1.2

@property (nonatomic, assign) float leading

Declared In

PAGText.h

  tracking

The text layer’s spacing between characters.

@property (nonatomic, assign) float tracking

Declared In

PAGText.h

  backgroundColor

The text layer’s background color.

@property (nonatomic, strong) CocoaColor *backgroundColor

Declared In

PAGText.h

  backgroundAlpha

The text layer’s background alpha. 0 = 100% transparent, 255 = 100% opaque.

@property (nonatomic, assign) int backgroundAlpha

Declared In

PAGText.h