LKLabelLayer
open class LKLabelLayer : CALayer
Undocumented
-
The underlying attributed string drawn by the label layer. Animatable.
Declaration
Swift
@objc @NSManaged open dynamic var attributedText: NSAttributedString? { get set } -
Undocumented
Declaration
Swift
public override init() -
Undocumented
Declaration
Swift
public required init?(coder: NSCoder) -
Triggers attributed text change implicit animation. If layer is used without
LKLabel, also triggers supporting bounds change action.Declaration
Swift
open override func action(forKey event: String) -> CAAction? -
Undocumented
Declaration
Swift
open override func preferredFrameSize() -> CGSize -
Undocumented
Declaration
Swift
open override func draw(in ctx: CGContext) -
Undocumented
Declaration
Swift
open override class func needsDisplay(forKey key: String) -> Bool
View on GitHub
Install in Dash
LKLabelLayer Class Reference