com.stimulsoft.base.drawing
Class StiCap

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.base.drawing.StiCap
All Implemented Interfaces:
IStiSerializable, IStiSerializableRef, java.lang.Cloneable

public class StiCap
extends StiSerializedObject
implements java.lang.Cloneable


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiCap()
           
StiCap(int width, StiCapStyle style, int height, boolean fill, StiColor color)
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 StiColor getColor()
          Gets or sets cap color.
 boolean getFill()
          Gets or sets fill mode of the cap.
 int getHeight()
          Gets or sets height of the cap.
 StiCapStyle getStyle()
           
 int getWidth()
          Gets or sets width of the cap.
 void setColor(StiColor value)
           
 void setFill(boolean value)
           
 void setHeight(int value)
           
 void setStyle(StiCapStyle value)
           
 void setWidth(int value)
           
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiCap

public StiCap()

StiCap

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

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 java.lang.Object clone()
Creates a new object that is a copy of the current instance.

Overrides:
clone in class java.lang.Object
Returns:
A new object that is a copy of this instance.