MSFLabelStyle

Objective-C


@interface MSFLabelStyle : MSFBillboardStyle

Swift

class MSFLabelStyle : MSFBillboardStyle

A style for labels. Contains attributes for configuring how the label is drawn on the screen.

  • Returns the horizontal anchor point of the label.

    Declaration

    Objective-C

    - (float)getAnchorPointX;

    Swift

    func getAnchorPointX() -> Float

    Return Value

    The horizontal anchor point of the label.

  • Returns the vertical anchor point of the label.

    Declaration

    Objective-C

    - (float)getAnchorPointY;

    Swift

    func getAnchorPointY() -> Float

    Return Value

    The vertical anchor point of the label.

  • Returns the state of the flippable flag.

    Declaration

    Objective-C

    - (BOOL)isFlippable;

    Swift

    func isFlippable() -> Bool

    Return Value

    True if the label is flippable.

  • Returns the orientation mode of the label.

    Declaration

    Objective-C

    - (enum MSFBillboardOrientation)getOrientationMode;

    Swift

    func getOrientationMode() -> MSFBillboardOrientation

    Return Value

    The orientation mode of the label.

  • Returns the scaling mode of the label.

    Declaration

    Objective-C

    - (enum MSFBillboardScaling)getScalingMode;

    Swift

    func getScalingMode() -> MSFBillboardScaling

    Return Value

    The scaling mode of the label.

  • Returns the relative rendering scale of the label.

    Declaration

    Objective-C

    - (float)getRenderScale;

    Swift

    func getRenderScale() -> Float

    Return Value

    The relative rendering scale of the label.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()