Class StiCap

All Implemented Interfaces:
IStiSerializable, IStiSerializableRef, Cloneable

public class StiCap extends StiSerializedObject implements Cloneable
  • Constructor Details

    • StiCap

      public StiCap()
    • StiCap

      public StiCap(int width, StiCapStyle style, int height, boolean fill, StiColor color)
  • Method Details

    • getWidth

      public final int getWidth()
      Gets or sets width of the cap.
    • setWidth

      public final void setWidth(int value)
    • getStyle

      public final StiCapStyle getStyle()
    • setStyle

      public final void setStyle(StiCapStyle value)
    • getHeight

      public final int getHeight()
      Gets or sets height of the cap.
    • setHeight

      public final void setHeight(int value)
    • getFill

      public final boolean getFill()
      Gets or sets fill mode of the cap.
    • setFill

      public final void setFill(boolean value)
    • getColor

      public final StiColor getColor()
      Gets or sets cap color.
    • setColor

      public final void setColor(StiColor value)
    • clone

      public Object clone()
      Creates a new object that is a copy of the current instance.
      Overrides:
      clone in class Object
      Returns:
      A new object that is a copy of this instance.