Class StiPen

java.lang.Object
com.stimulsoft.base.drawing.StiPen

public class StiPen extends Object
Class represent Pen value Copyright Stimulsoft
  • Field Details

    • BLACK

      public static final StiPen BLACK
      Black color pen
    • GRAY

      public static final StiPen GRAY
      Gray color pen
    • DIM_GRAY

      public static final StiPen DIM_GRAY
      Dim gray color pen
    • RED

      public static final StiPen RED
      Red color pen
    • BLUE

      public static final StiPen BLUE
      Blue color pen
    • TRANSPARENT

      public static final StiPen TRANSPARENT
      Transient color pen
  • Constructor Details

    • StiPen

      public StiPen(double width, StiColor color, StiPenStyle dashStyle)
      Constructor
      Parameters:
      width -
      color -
      dashStyle -
    • StiPen

      public StiPen(double width, StiColor color)
      Constructor
      Parameters:
      width -
      color -
    • StiPen

      public StiPen(StiColor color, double width)
  • Method Details

    • clone

      public StiPen clone()
      Overrides:
      clone in class Object
    • equals

      public Boolean equals(StiPen object)
      Check StiPen equality
      Parameters:
      object -
      Returns:
    • getCaps

      public int getCaps()
      Returns:
      the caps
    • setCaps

      public void setCaps(int caps)
      Parameters:
      caps - the caps to set
    • getJoints

      public int getJoints()
      Returns:
      the joints
    • setJoints

      public void setJoints(int joints)
      Parameters:
      joints - the joints to set
    • getWidth

      public Double getWidth()
      Returns:
      the width
    • setWidth

      public void setWidth(Double width)
      Parameters:
      width - the width to set
    • getColor

      public StiColor getColor()
      Returns:
      the color
    • setColor

      public void setColor(StiColor color)
      Parameters:
      color - the color to set
    • getBrush

      public StiBrush getBrush()
      Returns:
      the brush
    • setBrush

      public void setBrush(StiBrush brush)
      Parameters:
      brush - the brush to set
    • getDashStyle

      public StiPenStyle getDashStyle()
      Returns:
      the dashStyle
    • setDashStyle

      public void setDashStyle(StiPenStyle dashStyle)
      Parameters:
      dashStyle - the dashStyle to set