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 class
TextProperty.STYLE
-
Field Summary
Fields Modifier and Type Field Description ColorProperty
color
String
fontName
int
fontSzPx
int
horizLineDist
TextProperty.STYLE
style
String[]
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 int
getAwtFontStyle()
int
getSizeAsPts()
int
getSizeAsPx()
String
getText()
static int
sizePtsToPx(int pts)
static int
sizePxToPts(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)
-
-