Library | Package Java Toolkit

Interface TextStyle

package com.ptc.pfc.pfcBase;

public interface TextStyle
  extends jxobject



Description

This class specifies the text attributes.



Method Summary
doubleGetAngle ()
    Get method for attribute "Angle"
    The angle of rotation of the whole text, in counterclockwise degrees.
StringGetFontName ()
    Get method for attribute "FontName"
    The font name.
doubleGetHeight ()
    Get method for attribute "Height"
    The text height, in screen coordinates.
/*optional*/ BooleanGetIsMirrored ()
    Get method for attribute "IsMirrored"
    If this is true, the text is mirrored. Otherwise, the text is not mirrored.
/*optional*/ BooleanGetIsUnderlined ()
    Get method for attribute "IsUnderlined"
    If this is true, the text is underlined. Otherwise, the text is not underlined.
doubleGetSlantAngle ()
    Get method for attribute "SlantAngle"
    The slant angle of the text, in clockwise degrees.
doubleGetThickness ()
    Get method for attribute "Thickness"
    The text thickness.
doubleGetWidthFactor ()
    Get method for attribute "WidthFactor"
    The ratio of the width of each character (including the gap) as a proportion of the height.
voidSetAngle (double value)
    Set method for attribute "Angle"
    The angle of rotation of the whole text, in counterclockwise degrees.
voidSetFontName (String value)
    Set method for attribute "FontName"
    The font name.
voidSetHeight (double value)
    Set method for attribute "Height"
    The text height, in screen coordinates.
voidSetIsMirrored ( /*optional*/ Boolean value)
    Set method for attribute "IsMirrored"
    If this is true, the text is mirrored. Otherwise, the text is not mirrored.
voidSetIsUnderlined ( /*optional*/ Boolean value)
    Set method for attribute "IsUnderlined"
    If this is true, the text is underlined. Otherwise, the text is not underlined.
voidSetSlantAngle (double value)
    Set method for attribute "SlantAngle"
    The slant angle of the text, in clockwise degrees.
voidSetThickness (double value)
    Set method for attribute "Thickness"
    The text thickness.
voidSetWidthFactor (double value)
    Set method for attribute "WidthFactor"
    The ratio of the width of each character (including the gap) as a proportion of the height.

Method Detail

GetAngle/SetAngle

doubleGetAngle ()
voidSetAngle (double value)


    The angle of rotation of the whole text, in counterclockwise degrees.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties



GetFontName/SetFontName

StringGetFontName ()
voidSetFontName (String value)


    The font name.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties



GetHeight/SetHeight

doubleGetHeight ()
voidSetHeight (double value)


    The text height, in screen coordinates.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties



GetWidthFactor/SetWidthFactor

doubleGetWidthFactor ()
voidSetWidthFactor (double value)


    The ratio of the width of each character (including the gap) as a proportion of the height.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties



GetSlantAngle/SetSlantAngle

doubleGetSlantAngle ()
voidSetSlantAngle (double value)


    The slant angle of the text, in clockwise degrees.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties



GetThickness/SetThickness

doubleGetThickness ()
voidSetThickness (double value)


    The text thickness.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties



GetIsUnderlined/SetIsUnderlined

/*optional*/ BooleanGetIsUnderlined ()
voidSetIsUnderlined ( /*optional*/ Boolean value)


    If this is true, the text is underlined. Otherwise, the text is not underlined.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties



GetIsMirrored/SetIsMirrored

/*optional*/ BooleanGetIsMirrored ()
voidSetIsMirrored ( /*optional*/ Boolean value)


    If this is true, the text is mirrored. Otherwise, the text is not mirrored.
Manual References:
Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties, Annotations: Annotation Features and Annotations: Text Style Properties