init
TypeScriptstatic init(): CATextLayerSwift declarationinit()class · iOS 2.0+ · SDK 27.1
class CATextLayerstatic init(): CATextLayerSwift declarationinit()get alignmentMode(): CATextLayerAlignmentModeSwift declarationvar alignmentMode: CATextLayerAlignmentMode { get set }set alignmentMode(value: CATextLayerAlignmentMode)Swift declarationvar alignmentMode: CATextLayerAlignmentMode { get set }get allowsFontSubpixelQuantization(): booleanSwift declarationvar allowsFontSubpixelQuantization: Bool { get set }set allowsFontSubpixelQuantization(value: boolean)Swift declarationvar allowsFontSubpixelQuantization: Bool { get set }get font(): (unknown) | nullSwift declarationvar font: CFTypeRef? { get set }set font(value: (unknown) | null)Swift declarationvar font: CFTypeRef? { get set }get fontSize(): numberSwift declarationvar fontSize: CGFloat { get set }set fontSize(value: number)Swift declarationvar fontSize: CGFloat { get set }get foregroundColor(): (_CoreGraphics_CGColor) | nullSwift declarationvar foregroundColor: CGColor? { get set }set foregroundColor(value: (_CoreGraphics_CGColor) | null)Swift declarationvar foregroundColor: CGColor? { get set }get string(): (unknown) | nullSwift declarationvar string: Any? { get set }set string(value: (unknown) | null)Swift declarationvar string: Any? { get set }get truncationMode(): CATextLayerTruncationModeSwift declarationvar truncationMode: CATextLayerTruncationMode { get set }set truncationMode(value: CATextLayerTruncationMode)Swift declarationvar truncationMode: CATextLayerTruncationMode { get set }get isWrapped(): booleanSwift declarationvar isWrapped: Bool { get set }set isWrapped(value: boolean)Swift declarationvar isWrapped: Bool { get set }No declarations were skipped in this snapshot.