TextObjectAttributes

public struct TextObjectAttributes

Overview

Structure for managing basic font rendering attributes for text objects.

Properties

Property Description
fontName Font name.
fontSize Font size.
fontColor Font color.
alignment Horizontal/vertical text alignment.
wrap Text wraps.
isBold Text is bold.
isItalic Text is italicized.
isunderline Text is underlined.
renderQuality Font scaling attribute.

Extensions

  • ▶︎font

    Returns a system-native font.

  • ▶︎font

    Returns a system-native font.

    Declaration

    Swift

    public var font: NSFont { get }