Class StiContext
java.lang.Object
com.stimulsoft.report.painters.context.chart.StiContext
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionStiContext(IStiContextPainter contextPainter, Boolean isGdi, Boolean isWpf, Boolean isPrinting, double zoom) -
Method Summary
Modifier and TypeMethodDescriptionvoidDrawAnimationBar(StiBrush wpfBackColor, StiBrush brush, StiPenGeom borderPen, Object columnRect, StiCornerRadius cornerRadius, Double value, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) voidDrawAnimationBar(StiBrush brush, StiPenGeom borderPen, Object columnRect, Double value, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) voidDrawAnimationColumn(StiBrush wpfBackColor, StiBrush brush, StiPenGeom borderPen, Object rect, StiCornerRadius cornerRadius, Double value, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) voidDrawAnimationColumn(Object brush, StiPenGeom borderPen, Object rect, Double value, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) voidDrawAnimationCurve(StiPenGeom pen, StiPoint[] points, float tension, StiAnimation animation) voidDrawAnimationLabel(String text, StiFontGeom font, Object textBrush, Object labelBrush, StiPenGeom penBorder, StiRectangle rect, StiStringFormatGeom sf, StiRotationMode mode, float angle, Boolean drawBorder, StiAnimation animation) voidDrawAnimationLines(StiPenGeom pen, StiPoint[] points, StiAnimation animation) voidDrawAnimationPathElement(StiBrush wpfBackColor, StiBrush brush, StiPenGeom borderPen, List<StiSegmentGeom> path, Object rect, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) voidDrawAnimationPathElement(Object brush, StiPenGeom borderPen, List<StiSegmentGeom> path, Object rect, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) voidDrawAnimationRectangle(StiBrush brush, StiPenGeom pen, StiRectangle rect, Object tag, StiAnimation animation) voidDrawAnimationRectangle(StiBrush brush, StiPenGeom pen, StiRectangle rect, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) voidDrawAnimationRectangle(StiBrush brush, StiPenGeom pen, StiRectangle rect, Object tag, StiAnimation animation, StiInteractionDataGeom interaction, String toolTip) DrawAnimationText(String text, StiFontGeom font, StiBrush brush, StiRectangle rect, StiStringFormatGeom sf, StiRotationMode mode, double angle, boolean antialiasing, double maximalWidth, StiAnimation animation) voiddrawCachedShadow(StiRectangle rect, StiEnumSet<StiShadowSides> sides, boolean isPrinting) voiddrawCachedShadow(StiRectangle rect, StiEnumSet<StiShadowSides> sides, boolean isPrinting, StiRectangle clipRect) voiddrawCachedShadow(StiRectangle rect, StiEnumSet<StiShadowSides> sides, boolean isPrinting, StiRectangle clipRect, StiCornerRadius cornerRadius) voiddrawCicledRectangle(StiPenGeom pen, StiRectangle rect, StiCornerRadius cornerRadius) voidDrawCurve(StiPenGeom pen, StiPoint[] points, float tension) voidDrawEllipse(StiPenGeom pen, double x, double y, double width, double height) voidDrawEllipse(StiPenGeom pen, StiRectangle rect) voidDrawLine(StiPenGeom pen, double x1, double y1, double x2, double y2) voidDrawLines(StiPenGeom pen, StiPoint[] points) voidDrawLines(StiPenGeom pen, StiPoint[] points, boolean useZoom) voidDrawPath(StiPenGeom pen, List<StiSegmentGeom> path, Object rect) voidDrawPath(StiPenGeom pen, List<StiSegmentGeom> path, Object rect, boolean useZoom) voidDrawPath(StiPenGeom pen, List<StiSegmentGeom> path, Object rect, Object tag) voidDrawRectangle(StiPenGeom pen, double x, double y, double width, double height) voidDrawRectangle(StiPenGeom pen, StiRectangle rect) DrawRotatedString(String text, StiFontGeom font, Object brush, StiPoint pos, StiStringFormatGeom sf, StiRotationMode mode, double angle, boolean antialiasing) DrawRotatedString(String text, StiFontGeom font, Object brush, StiPoint pos, StiStringFormatGeom sf, StiRotationMode mode, double angle, boolean antialiasing, int maximalWidth) DrawRotatedString(String text, StiFontGeom font, Object brush, StiRectangle rect, StiStringFormatGeom sf, double angle, boolean antialiasing) DrawRotatedString(String text, StiFontGeom font, Object brush, StiRectangle rect, StiStringFormatGeom sf, StiRotationMode mode, double angle, boolean antialiasing) DrawRotatedString(String text, StiFontGeom font, Object brush, StiRectangle rect, StiStringFormatGeom sf, StiRotationMode mode, double angle, boolean antialiasing, double maximalWidth) voidDrawShadow(StiContext sg, StiRectangle rect, double radius) voidDrawShadowRect(StiRectangle rect, double radiusX, double radiusY, int shadowWidth, StiAnimation animation) voidDrawShadowRect(StiRectangle rect, int shadowWidth, StiCornerRadius cornerRadius, StiAnimation animation) DrawString(String text, StiFontGeom font, StiBrush brush, StiRectangle rect, StiStringFormatGeom sf, int maximalWidth, int elementIndex) DrawString(String text, StiFontGeom font, Object brush, StiRectangle rect, StiStringFormatGeom sf) DrawString(String text, StiFontGeom font, Object brush, StiRectangle rect, StiStringFormatGeom sf, boolean antialiasing, String toolTip, StiInteractionDataGeom interaction) DrawString(String text, StiFontGeom font, Object brush, StiRectangle rect, StiStringFormatGeom sf, int elementIndex) voidfillCicledRectangle(StiBrush brush, StiRectangle rect, StiCornerRadius cornerRadius, StiInteractionDataGeom interaction, String tooltip, int elementIndex) voidFillDrawAnimationEllipse(StiBrush wpfBackColor, StiBrush brush, StiPenGeom pen, double x, double y, double width, double height, String toolTip, Object tag, StiAnimation animation) voidFillDrawAnimationEllipse(StiBrush wpfBackColor, StiBrush brush, StiPenGeom pen, double x, double y, double width, double height, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) voidFillDrawAnimationEllipse(Object brush, StiPenGeom pen, double x, double y, double width, double height, String toolTip, Object tag, StiAnimation animation) voidFillDrawAnimationEllipse(Object brush, StiPenGeom pen, double x, double y, double width, double height, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) voidFillDrawAnimationPath(Object brush, StiPenGeom pen, List<StiSegmentGeom> path, Object rect, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) voidFillEllipse(StiBrush brush, float x, float y, float width, float height, String toolTip, StiInteractionDataGeom interaction, int elementIndex) voidFillEllipse(StiBrush brush, StiRectangle rect, StiInteractionDataGeom interaction, int elementIndex) voidFillEllipse(Object brush, double x, double y, double width, double height, String toolTip, StiInteractionDataGeom interaction) voidFillEllipse(Object brush, StiRectangle rect, StiInteractionDataGeom interaction) voidFillPath(StiBrush brush, List<StiSegmentGeom> path, Object rect, StiInteractionDataGeom interaction) voidFillPath(StiBrush brush, List<StiSegmentGeom> path, Object rect, StiInteractionDataGeom interaction, int elementIndex) voidFillPath(StiBrush brush, List<StiSegmentGeom> path, Object rect, Object tag, StiInteractionDataGeom interaction) voidFillPath(StiBrush brush, List<StiSegmentGeom> path, Object rect, Object tag, StiInteractionDataGeom interaction, int elementIndex, String toolTip) voidFillRectangle(Object brush, double x, double y, double width, double height, StiInteractionDataGeom interaction) voidFillRectangle(Object brush, double x, double y, double width, double height, StiInteractionDataGeom interaction, int elementIndex) voidFillRectangle(Object brush, StiRectangle rect, StiInteractionDataGeom interaction) voidFillRectangle(Object brush, StiRectangle rect, StiInteractionDataGeom interaction, int elementIndex) getGeoms()GetPathBounds(List<StiSegmentGeom> geoms) MeasureRotatedString(String text, StiFontGeom font, StiPoint point, StiStringFormatGeom sf, StiRotationMode mode, double angle) MeasureRotatedString(String text, StiFontGeom font, StiPoint point, StiStringFormatGeom sf, StiRotationMode mode, double angle, double maximalWidth) MeasureRotatedString(String text, StiFontGeom font, StiPoint point, StiStringFormatGeom sf, StiRotationMode mode, double angle, int maximalWidth, boolean wordWrap) MeasureRotatedString(String text, StiFontGeom font, StiRectangle rect, StiStringFormatGeom sf, float angle) MeasureRotatedString(String text, StiFontGeom font, StiRectangle rect, StiStringFormatGeom sf, StiRotationMode mode, double angle) MeasureString(String text, StiFontGeom font) MeasureString(String text, StiFontGeom font, int width, StiStringFormatGeom sf) voidPopClip()voidvoidvoidvoidPushClip(StiRectangle clipRect) voidPushClipPath(List<StiSegmentGeom> listGeoms) voidPushRotateTransform(float angle) voidvoidvoidPushTranslateTransform(double x, double y) voidrender(StiRectangle rect)
-
Field Details
-
Options
-
geoms
-
animations
-
-
Constructor Details
-
StiContext
public StiContext(IStiContextPainter contextPainter, Boolean isGdi, Boolean isWpf, Boolean isPrinting, double zoom)
-
-
Method Details
-
getOptions
-
render
-
GetDefaultStringFormat
-
GetGenericStringFormat
-
DrawString
public StiTextGeom DrawString(String text, StiFontGeom font, Object brush, StiRectangle rect, StiStringFormatGeom sf, boolean antialiasing, String toolTip, StiInteractionDataGeom interaction) -
DrawString
public StiTextGeom DrawString(String text, StiFontGeom font, Object brush, StiRectangle rect, StiStringFormatGeom sf) -
DrawString
public StiTextGeom DrawString(String text, StiFontGeom font, StiBrush brush, StiRectangle rect, StiStringFormatGeom sf, int maximalWidth, int elementIndex) -
DrawString
public StiTextGeom DrawString(String text, StiFontGeom font, Object brush, StiRectangle rect, StiStringFormatGeom sf, int elementIndex) -
DrawRotatedString
public StiTextGeom DrawRotatedString(String text, StiFontGeom font, Object brush, StiRectangle rect, StiStringFormatGeom sf, double angle, boolean antialiasing) -
DrawRotatedString
public StiTextGeom DrawRotatedString(String text, StiFontGeom font, Object brush, StiPoint pos, StiStringFormatGeom sf, StiRotationMode mode, double angle, boolean antialiasing) -
DrawRotatedString
public StiTextGeom DrawRotatedString(String text, StiFontGeom font, Object brush, StiRectangle rect, StiStringFormatGeom sf, StiRotationMode mode, double angle, boolean antialiasing, double maximalWidth) -
DrawRotatedString
public StiTextGeom DrawRotatedString(String text, StiFontGeom font, Object brush, StiRectangle rect, StiStringFormatGeom sf, StiRotationMode mode, double angle, boolean antialiasing) -
DrawRotatedString
public StiTextGeom DrawRotatedString(String text, StiFontGeom font, Object brush, StiPoint pos, StiStringFormatGeom sf, StiRotationMode mode, double angle, boolean antialiasing, int maximalWidth) -
MeasureString
-
MeasureString
-
MeasureRotatedString
public StiRectangle MeasureRotatedString(String text, StiFontGeom font, StiRectangle rect, StiStringFormatGeom sf, float angle) -
MeasureRotatedString
public StiRectangle MeasureRotatedString(String text, StiFontGeom font, StiRectangle rect, StiStringFormatGeom sf, StiRotationMode mode, double angle) -
MeasureRotatedString
public StiRectangle MeasureRotatedString(String text, StiFontGeom font, StiPoint point, StiStringFormatGeom sf, StiRotationMode mode, double angle, int maximalWidth, boolean wordWrap) -
MeasureRotatedString
public StiRectangle MeasureRotatedString(String text, StiFontGeom font, StiPoint point, StiStringFormatGeom sf, StiRotationMode mode, double angle, double maximalWidth) -
MeasureRotatedString
public StiRectangle MeasureRotatedString(String text, StiFontGeom font, StiPoint point, StiStringFormatGeom sf, StiRotationMode mode, double angle) -
DrawShadow
-
drawCachedShadow
public void drawCachedShadow(StiRectangle rect, StiEnumSet<StiShadowSides> sides, boolean isPrinting) -
drawCachedShadow
public void drawCachedShadow(StiRectangle rect, StiEnumSet<StiShadowSides> sides, boolean isPrinting, StiRectangle clipRect) -
drawCachedShadow
public void drawCachedShadow(StiRectangle rect, StiEnumSet<StiShadowSides> sides, boolean isPrinting, StiRectangle clipRect, StiCornerRadius cornerRadius) -
CreateShadowGraphics
-
fillCicledRectangle
public void fillCicledRectangle(StiBrush brush, StiRectangle rect, StiCornerRadius cornerRadius, StiInteractionDataGeom interaction, String tooltip, int elementIndex) -
drawCicledRectangle
-
PushTranslateTransform
public void PushTranslateTransform(double x, double y) -
PushRotateTransform
public void PushRotateTransform(float angle) -
PopTransform
public void PopTransform() -
PushClip
-
PushClipPath
-
PopClip
public void PopClip() -
DrawAnimationText
public StiTextGeom DrawAnimationText(String text, StiFontGeom font, StiBrush brush, StiRectangle rect, StiStringFormatGeom sf, StiRotationMode mode, double angle, boolean antialiasing, double maximalWidth, StiAnimation animation) -
DrawAnimationColumn
public void DrawAnimationColumn(StiBrush wpfBackColor, StiBrush brush, StiPenGeom borderPen, Object rect, StiCornerRadius cornerRadius, Double value, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) -
DrawAnimationColumn
public void DrawAnimationColumn(Object brush, StiPenGeom borderPen, Object rect, Double value, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) -
DrawAnimationBar
public void DrawAnimationBar(StiBrush brush, StiPenGeom borderPen, Object columnRect, Double value, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) -
DrawAnimationBar
public void DrawAnimationBar(StiBrush wpfBackColor, StiBrush brush, StiPenGeom borderPen, Object columnRect, StiCornerRadius cornerRadius, Double value, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) -
DrawAnimationRectangle
public void DrawAnimationRectangle(StiBrush brush, StiPenGeom pen, StiRectangle rect, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) -
DrawAnimationRectangle
public void DrawAnimationRectangle(StiBrush brush, StiPenGeom pen, StiRectangle rect, Object tag, StiAnimation animation) -
DrawAnimationRectangle
public void DrawAnimationRectangle(StiBrush brush, StiPenGeom pen, StiRectangle rect, Object tag, StiAnimation animation, StiInteractionDataGeom interaction, String toolTip) -
DrawAnimationPathElement
public void DrawAnimationPathElement(StiBrush wpfBackColor, StiBrush brush, StiPenGeom borderPen, List<StiSegmentGeom> path, Object rect, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) -
DrawAnimationPathElement
public void DrawAnimationPathElement(Object brush, StiPenGeom borderPen, List<StiSegmentGeom> path, Object rect, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) -
DrawAnimationLabel
public void DrawAnimationLabel(String text, StiFontGeom font, Object textBrush, Object labelBrush, StiPenGeom penBorder, StiRectangle rect, StiStringFormatGeom sf, StiRotationMode mode, float angle, Boolean drawBorder, StiAnimation animation) -
DrawAnimationLines
-
DrawAnimationCurve
public void DrawAnimationCurve(StiPenGeom pen, StiPoint[] points, float tension, StiAnimation animation) -
FillDrawAnimationPath
public void FillDrawAnimationPath(Object brush, StiPenGeom pen, List<StiSegmentGeom> path, Object rect, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) -
FillDrawAnimationEllipse
public void FillDrawAnimationEllipse(Object brush, StiPenGeom pen, double x, double y, double width, double height, String toolTip, Object tag, StiAnimation animation) -
FillDrawAnimationEllipse
public void FillDrawAnimationEllipse(Object brush, StiPenGeom pen, double x, double y, double width, double height, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) -
FillDrawAnimationEllipse
public void FillDrawAnimationEllipse(StiBrush wpfBackColor, StiBrush brush, StiPenGeom pen, double x, double y, double width, double height, String toolTip, Object tag, StiAnimation animation) -
FillDrawAnimationEllipse
public void FillDrawAnimationEllipse(StiBrush wpfBackColor, StiBrush brush, StiPenGeom pen, double x, double y, double width, double height, String toolTip, Object tag, StiAnimation animation, StiInteractionDataGeom interaction) -
DrawLine
-
DrawLines
-
DrawLines
-
DrawRectangle
-
DrawRectangle
-
DrawEllipse
-
DrawEllipse
-
FillEllipse
public void FillEllipse(Object brush, double x, double y, double width, double height, String toolTip, StiInteractionDataGeom interaction) -
FillEllipse
public void FillEllipse(StiBrush brush, float x, float y, float width, float height, String toolTip, StiInteractionDataGeom interaction, int elementIndex) -
FillEllipse
public void FillEllipse(StiBrush brush, StiRectangle rect, StiInteractionDataGeom interaction, int elementIndex) -
FillEllipse
-
DrawPath
-
DrawPath
-
DrawPath
-
FillPath
public void FillPath(StiBrush brush, List<StiSegmentGeom> path, Object rect, Object tag, StiInteractionDataGeom interaction) -
FillPath
public void FillPath(StiBrush brush, List<StiSegmentGeom> path, Object rect, StiInteractionDataGeom interaction) -
FillPath
public void FillPath(StiBrush brush, List<StiSegmentGeom> path, Object rect, StiInteractionDataGeom interaction, int elementIndex) -
FillPath
public void FillPath(StiBrush brush, List<StiSegmentGeom> path, Object rect, Object tag, StiInteractionDataGeom interaction, int elementIndex, String toolTip) -
DrawCurve
-
FillRectangle
-
FillRectangle
public void FillRectangle(Object brush, StiRectangle rect, StiInteractionDataGeom interaction, int elementIndex) -
FillRectangle
public void FillRectangle(Object brush, double x, double y, double width, double height, StiInteractionDataGeom interaction) -
FillRectangle
public void FillRectangle(Object brush, double x, double y, double width, double height, StiInteractionDataGeom interaction, int elementIndex) -
PushSmoothingModeToAntiAlias
public void PushSmoothingModeToAntiAlias() -
PopSmoothingMode
public void PopSmoothingMode() -
PushTextRenderingHintToAntiAlias
public void PushTextRenderingHintToAntiAlias() -
PopTextRenderingHint
public void PopTextRenderingHint() -
GetPathBounds
-
getContextPainter
- Returns:
- the contextPainter
-
getGeoms
- Returns:
- the geoms
-
DrawShadowRect
public void DrawShadowRect(StiRectangle rect, int shadowWidth, StiCornerRadius cornerRadius, StiAnimation animation) -
DrawShadowRect
public void DrawShadowRect(StiRectangle rect, double radiusX, double radiusY, int shadowWidth, StiAnimation animation)
-