Class 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.
    • Constructor Summary

      Constructors 
      Constructor Description
      Outline()
      Creates a new outline.
      Outline​(float aStrokeWidth, RMColor aFillColor)
      Creates a new outline with the given stroke width and fill color.
    • 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.