Package com.inductiveautomation.rm.text
Class RMXString.Outline
- java.lang.Object
-
- com.inductiveautomation.rm.text.RMXString.Outline
-
- Enclosing class:
- RMXString
public static class RMXString.Outline extends java.lang.Object
The Outline inner class represents the attributes of outlined text: strokeWidth and fillColor.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RMXString.Outline
deriveOutline(float aStrokeWidth)
Creates a new outline from this outline with the given stroke width.RMXString.Outline
deriveOutline(RMColor aFillColor)
Creates a new outline from this outline with the given fill color.RMColor
getFillColor()
Returns the fill color for this outline.float
getStrokeWidth()
Returns the stroke width for this outline.
-
-
-
Constructor Detail
-
Outline
public Outline()
Creates a new outline.
-
Outline
public Outline(float aStrokeWidth, RMColor aFillColor)
Creates a new outline with the given stroke width and fill color.
-
-
Method Detail
-
getStrokeWidth
public float getStrokeWidth()
Returns the stroke width for this outline.
-
getFillColor
public RMColor getFillColor()
Returns the fill color for this outline.
-
deriveOutline
public RMXString.Outline deriveOutline(float aStrokeWidth)
Creates a new outline from this outline with the given stroke width.
-
deriveOutline
public RMXString.Outline deriveOutline(RMColor aFillColor)
Creates a new outline from this outline with the given fill color.
-
-