Class StiPie3dSidesSeriesElementGeom
java.lang.Object
com.stimulsoft.report.painters.context.chart.geoms.StiGeom
com.stimulsoft.report.chart.geoms.StiCellGeom
com.stimulsoft.report.chart.geoms.series.StiSeriesElementGeom
com.stimulsoft.report.chart.geoms.series.pie.StiPie3dSidesSeriesElementGeom
- All Implemented Interfaces:
IStiJsonReportObject,IStiGeomInteraction,IStiSeriesElement
Copyright Stimulsoft
-
Field Summary
Fields inherited from class com.stimulsoft.report.chart.geoms.series.StiSeriesElementGeom
seriesBrush -
Constructor Summary
ConstructorsConstructorDescriptionStiPie3dSidesSeriesElementGeom(StiPie3dSlice pie3DSlice, StiAreaGeom areaGeom, double value, int index, int count, IStiPie3dSeries series, StiRectangle clientRectangle, StiColor borderColor, StiBrush brush, float startAngle, float sweepAngle, float pieHeight, boolean startSideExists, boolean endSideExists) -
Method Summary
Modifier and TypeMethodDescriptionbooleanContains(double px, double py) protected StiBrushcreateBrushForPeriphery(StiColor color) protected StiBrushcreateBrushForSide(StiColor color, double angle) static StiColorcreateColorWithCorrectedLightness(StiColor color, float correctionFactor) protected voidcreateSurfaceBrushes(StiPie3dLightingStyle shadowStyle) voidDraw(StiContext context) Draws area geom object on spefied context.protected final voiddrawCylinderSurfaceSection(StiContext context, StiPenGeom pen, StiBrush brush, StiPie3dPeripherySurfaceBounds peripherySurfaceBounds) protected final floatgetActualAngle(float transformedAngle) final floatfinal StiPie3dSlicefinal floatfinal StiPointprotected final StiPointperipheralPoint(double xCenter, double yCenter, double semiMajor, double semiMinor, double angleDegrees) final booleanperipheryContainsPoint(StiPoint point) protected final floattransformAngle(float angle) Methods inherited from class com.stimulsoft.report.chart.geoms.series.StiSeriesElementGeom
getAllowMouseOver, getAreaGeom, GetCornerRadius, getElementIndex, getIndex, getInteractionData, getIsMouseOver, getSeries, GetSeriesBorderThickness, GetToolTip, getValue, InvokeClick, InvokeMouseEnter, InvokeMouseLeave, isSelected, setAreaGeom, setElementIndex, setInteraction, setIsMouseOverMethods inherited from class com.stimulsoft.report.chart.geoms.StiCellGeom
AllowChildDrawing, CreateChildGeoms, DrawChildGeoms, DrawGeom, getChildGeoms, getClientRectangle, GetGeomAt, getInvisible, GetRect, getSeriesElementGeoms, GetSeriesGeoms, getType, InvokeDrag, InvokeMouseDown, InvokeMouseUp, setClientRectangleMethods inherited from class com.stimulsoft.report.painters.context.chart.geoms.StiGeom
LoadFromJsonObject, SaveBrushToJsonObject, SaveGeomListToJsonObject, SavePointFArrayToJsonObject, SavePointFToJsonObject, SaveRectangleDToJsonObject, SaveRectangleFToJsonObject, SaveRectangleToJsonObject, SaveRectToJsonObject, SaveToJsonObject
-
Constructor Details
-
StiPie3dSidesSeriesElementGeom
public StiPie3dSidesSeriesElementGeom(StiPie3dSlice pie3DSlice, StiAreaGeom areaGeom, double value, int index, int count, IStiPie3dSeries series, StiRectangle clientRectangle, StiColor borderColor, StiBrush brush, float startAngle, float sweepAngle, float pieHeight, boolean startSideExists, boolean endSideExists)
-
-
Method Details
-
getStartAngle
public final float getStartAngle() -
getEndAngle
public final float getEndAngle() -
getInteraction
- Overrides:
getInteractionin classStiSeriesElementGeom
-
getPie3DSlice
-
Contains
public boolean Contains(double px, double py) - Overrides:
Containsin classStiCellGeom
-
peripheryContainsPoint
-
Draw
Description copied from class:StiSeriesElementGeomDraws area geom object on spefied context.- Overrides:
Drawin classStiSeriesElementGeom
-
drawCylinderSurfaceSection
protected final void drawCylinderSurfaceSection(StiContext context, StiPenGeom pen, StiBrush brush, StiPie3dPeripherySurfaceBounds peripherySurfaceBounds) -
getTextPosition
-
getActualAngle
protected final float getActualAngle(float transformedAngle) -
createSurfaceBrushes
-
createBrushForSide
-
createBrushForPeriphery
-
createColorWithCorrectedLightness
-
peripheralPoint
protected final StiPoint peripheralPoint(double xCenter, double yCenter, double semiMajor, double semiMinor, double angleDegrees) -
transformAngle
protected final float transformAngle(float angle)
-