Class TextProperty
- java.lang.Object
-
- hudson.plugins.project_inheritance.util.svg.properties.TextProperty
-
public class TextProperty extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTextProperty.STYLE
-
Field Summary
Fields Modifier and Type Field Description ColorPropertycolorStringfontNameintfontSzPxinthorizLineDistTextProperty.STYLEstyleString[]text
-
Constructor Summary
Constructors Constructor Description TextProperty(String text, ColorProperty color, TextProperty.STYLE style, String fontName, int fontSizePx, int horizLineDist)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAwtFontStyle()intgetSizeAsPts()intgetSizeAsPx()StringgetText()static intsizePtsToPx(int pts)static intsizePxToPts(int px)
-
-
-
Field Detail
-
text
public String[] text
-
fontSzPx
public int fontSzPx
-
horizLineDist
public int horizLineDist
-
fontName
public String fontName
-
color
public ColorProperty color
-
style
public TextProperty.STYLE style
-
-
Constructor Detail
-
TextProperty
public TextProperty(String text, ColorProperty color, TextProperty.STYLE style, String fontName, int fontSizePx, int horizLineDist)
-
-
Method Detail
-
getAwtFontStyle
public int getAwtFontStyle()
-
getSizeAsPx
public int getSizeAsPx()
-
getSizeAsPts
public int getSizeAsPts()
-
getText
public String getText()
-
sizePxToPts
public static int sizePxToPts(int px)
-
sizePtsToPx
public static int sizePtsToPx(int pts)
-
-