NTTextStyle


@interface NTTextStyle : NTLabelStyle

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

  • Returns the font’s color.

    Declaration

    Objective-C

    - (NTColor *)getFontColor;

    Return Value

    The color of the font.

  • Returns the font’s name.

    Declaration

    Objective-C

    - (NSString *)getFontName;

    Return Value

    The platform dependent name of the font.

  • Returns the text field variable to use.

    Declaration

    Objective-C

    - (NSString *)getTextField;

    Return Value

    The text field variable.

  • Returns the font’s size.

    Declaration

    Objective-C

    - (float)getFontSize;

    Return Value

    The size of the font in points.

  • Returns the state of the ‘break lines’ flag.

    Declaration

    Objective-C

    - (BOOL)isBreakLines;

    Return Value

    The state of the ‘break lines’ flag.

  • Returns the margins for the text.

    Declaration

    Objective-C

    - (NTTextMargins *)getTextMargins;

    Return Value

    The margins for the text.

  • Returns the color of the stroke.

    Declaration

    Objective-C

    - (NTColor *)getStrokeColor;

    Return Value

    The color of the stroke around the text.

  • Returns the width of the stroke.

    Declaration

    Objective-C

    - (float)getStrokeWidth;

    Return Value

    The width of the stroke around the text.

  • Returns the color of the border.

    Declaration

    Objective-C

    - (NTColor *)getBorderColor;

    Return Value

    The color of the border around the text.

  • Returns the width of the border.

    Declaration

    Objective-C

    - (float)getBorderWidth;

    Return Value

    The width of the border around the text.

  • Returns the background color of the text.

    Declaration

    Objective-C

    - (NTColor *)getBackgroundColor;

    Return Value

    The background color of the text.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;