com.stimulsoft.report.chart.geoms.series.pie
Class StiPieSeriesElementGeom

java.lang.Object
  extended by com.stimulsoft.base.context.chart.geoms.StiGeom
      extended by com.stimulsoft.report.chart.geoms.StiCellGeom
          extended by com.stimulsoft.report.chart.geoms.series.StiSeriesElementGeom
              extended by com.stimulsoft.report.chart.geoms.series.pie.StiPieSeriesElementGeom
All Implemented Interfaces:
IStiJsonReportObject, IStiGeomInteraction, IStiSeriesElement

public class StiPieSeriesElementGeom
extends StiSeriesElementGeom


Constructor Summary
StiPieSeriesElementGeom(StiAreaGeom areaGeom, double value, int index, IStiPieSeries series, StiRectangle clientRectangle, java.util.ArrayList<StiSegmentGeom> path, java.util.ArrayList<StiSegmentGeom> pathLight, StiColor borderColor, StiBrush brush, double startAngle, double endAngle, double radius, StiAnimation animation)
           
 
Method Summary
 boolean Contains(double x, double y)
           
 void Draw(StiContext context)
          Draws area geom object on spefied context.
 StiAnimation getAnimation()
           
 StiColor getBorderColor()
           
 StiBrush getBrush()
           
 double getEndAngle()
           
 java.util.ArrayList<StiSegmentGeom> getPath()
           
 java.util.ArrayList<StiSegmentGeom> getPathLight()
           
 double getRadius()
           
 double getStartAngle()
           
 void setAnimation(StiAnimation animation)
           
 void setEndAngle(double value)
           
 void setRadius(double value)
           
 void setStartAngle(double value)
           
 
Methods inherited from class com.stimulsoft.report.chart.geoms.series.StiSeriesElementGeom
getAllowMouseOver, getAreaGeom, getElementIndex, getIndex, getInteraction, getInteractionData, getIsMouseOver, getSeries, GetToolTip, getValue, InvokeClick, InvokeMouseEnter, InvokeMouseLeave, setAreaGeom, setElementIndex, setInteraction, setIsMouseOver
 
Methods inherited from class com.stimulsoft.report.chart.geoms.StiCellGeom
CreateChildGeoms, DrawChildGeoms, DrawGeom, getChildGeoms, getClientRectangle, GetGeomAt, getInvisible, GetRect, getSeriesElementGeoms, GetSeriesGeoms, getType, InvokeDrag, InvokeMouseDown, InvokeMouseUp, setClientRectangle
 
Methods inherited from class com.stimulsoft.base.context.chart.geoms.StiGeom
LoadFromJsonObject, SavePointFToJsonObject, SaveRectangleDToJsonObject, SaveRectangleFToJsonObject, SaveRectangleToJsonObject, SaveToJsonObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiPieSeriesElementGeom

public StiPieSeriesElementGeom(StiAreaGeom areaGeom,
                               double value,
                               int index,
                               IStiPieSeries series,
                               StiRectangle clientRectangle,
                               java.util.ArrayList<StiSegmentGeom> path,
                               java.util.ArrayList<StiSegmentGeom> pathLight,
                               StiColor borderColor,
                               StiBrush brush,
                               double startAngle,
                               double endAngle,
                               double radius,
                               StiAnimation animation)
Method Detail

getPath

public final java.util.ArrayList<StiSegmentGeom> getPath()

getPathLight

public final java.util.ArrayList<StiSegmentGeom> getPathLight()

getBorderColor

public final StiColor getBorderColor()

getBrush

public final StiBrush getBrush()

getStartAngle

public final double getStartAngle()

setStartAngle

public final void setStartAngle(double value)

getEndAngle

public final double getEndAngle()

setEndAngle

public final void setEndAngle(double value)

getRadius

public final double getRadius()

setRadius

public final void setRadius(double value)

getAnimation

public StiAnimation getAnimation()
Returns:
the animation

setAnimation

public void setAnimation(StiAnimation animation)
Parameters:
animation - the animation to set

Contains

public boolean Contains(double x,
                        double y)
Overrides:
Contains in class StiCellGeom

Draw

public void Draw(StiContext context)
Draws area geom object on spefied context.

Overrides:
Draw in class StiSeriesElementGeom