Object used for drawing dynamic graphics More...
Inherits IVisualComponent, and IInternalGraphics.
Public Member Functions | |
| TStructure | GetZoom (double Width, double Height, bool KeepAspectRatio) |
| Calculate ZoomX and ZoomY for current graphics More... | |
| IVisualComponent | Draw (double Zoom) |
| Draw graphics object to calculation output with given zoom factor More... | |
| IVisualComponent | Draw (double ZoomX, double ZoomY, double Angle) |
| Draw graphics object to calculation output with given zoom factors and rotation More... | |
| IVisualComponent | Draw (double Width, double Height) |
| Draw graphics object to calculation output. Best fit the object to rectangle with given width and height. Keep aspect ratio. More... | |
| IVisualComponent | Draw (double Width, double Height, bool KeepAspectRatio) |
| Draw graphics object to calculation output. Best fit the object to rectangle with given width and height. More... | |
| void | Clear () |
| Clear all operations. More... | |
| void | DrawLine (double X1, double Y1, double X2, double Y2) |
| Draw a line with given coordinates and default pen. More... | |
| void | DrawLine (double X1, double Y1, double X2, double Y2, Pen P) |
| Draw a line with given coordinates and pen. More... | |
| void | DrawLine (object Pt1, object Pt2) |
| Draws a line connecting two points. More... | |
| void | DrawLine (object Pt1, object Pt2, Pen P) |
| Draws a line connecting two points. More... | |
| void | DrawLine (string ColorName, double Width, double X1, double Y1, double X2, double Y2) |
| Obsolete function. Do not use! More... | |
| void | DrawLines (IList Points) |
| Draws a open polyline defined by an array of Points. More... | |
| void | DrawLines (IList Points, Pen P) |
| Draws a open polyline defined by an array of Points. More... | |
| void | DrawPolygon (IList Points) |
| Draws a closed polygon defined by an array of Points. More... | |
| void | DrawPolygon (IList Points, Pen P) |
| Draws a closed polygon defined by an array of Points. More... | |
| void | DrawPolyLine (IList Points) |
| Draws a closed polygon defined by an array of Points. More... | |
| void | DrawPolyLine (IList Points, Pen P) |
| Draws a closed polygon defined by an array of Points. More... | |
| void | DrawPolyLine (string ColorName, double Width, IList Points) |
| Obsolete function. Do not use! More... | |
| void | DrawRectangle (double X, double Y, double Width, double Height) |
| Draws a rectangle specified by a coordinate pair, a width, and a height. More... | |
| void | DrawRectangle (double X, double Y, double Width, double Height, Pen P) |
| Draws a rectangle specified by a coordinate pair, a width, and a height. More... | |
| void | DrawCircle (double X, double Y, double D) |
| Draw a circle with given center and diameter. More... | |
| void | DrawCircle (double X, double Y, double D, Pen P) |
| Draw a circle with given center, diameter and pen. More... | |
| void | DrawCircle (string ColorName, double Width, double X, double Y, double R) |
| Obsolete function. Do not use! More... | |
| void | DrawEllipse (double X, double Y, double A, double B) |
| Draw a ellipse with given center and dimensions. More... | |
| void | DrawEllipse (double X, double Y, double A, double B, Pen P) |
| Draw a ellipse with given center, dimensions and pen. More... | |
| void | DrawArc (double X, double Y, double Width, double Height, double StartAngle, double Angle) |
| Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height. More... | |
| void | DrawArc (double X, double Y, double Width, double Height, double StartAngle, double Angle, Pen P) |
| Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height. More... | |
| void | DrawText (string TXT, Font F, double X, double Y) |
| Draws the specified text string at the specified location with the specified Font. More... | |
| void | DrawText (string TXT, Font F, double X, double Y, ContentAlignment Alignment) |
| Draws the specified text string at the specified location with the specified Font. More... | |
| void | DrawText (string TXT, Font F, double X, double Y, ContentAlignment Alignment, double Angle) |
| Draws the specified text string at the specified location with the specified Font. More... | |
| void | DrawText (string TXT, Font F, double X, double Y, ContentAlignment Alignment, double Angle, Color Color) |
| Draws the specified text string at the specified location with the specified Font. More... | |
| void | DrawText (string TXT, Font F, double X, double Y, ContentAlignment Alignment, Color Color) |
| Draws the specified text string at the specified location with the specified Font. More... | |
| void | DrawText (string ColorName, string TXT, Font F, double X, double Y) |
| Obsolete function. Do not use! More... | |
| void | DrawGraphics (TGraphics Graphics, double X, double Y) |
| Draw a external graphics object at specified location. More... | |
| void | DrawGraphics (TGraphics Graphics, double X, double Y, double Angle) |
| Draw a external graphics object at specified location. More... | |
| void | DrawGraphics (TGraphics Graphics, double X, double Y, double ZoomX, double ZoomY, double Angle) |
| Draw a external graphics object at specified location. More... | |
| void | FillPolygon (IList Points, Color Color) |
| Fills the given polygon with solid brush. More... | |
| void | FillPolygon (IList Points, Brush B) |
| Fills the polygon with given brush. More... | |
| void | FillCircle (double X, double Y, double D, Color C) |
| Fill a circle with given center and diameter using solid brush of given color. More... | |
| void | FillCircle (double X, double Y, double D, Brush Brush) |
| Fill a circle with given center and diameter using given brush More... | |
| void | FillEllipse (double X, double Y, double A, double B, Color C) |
| Fill a ellipse with given center and dimensions with solid brush of given color. More... | |
| void | FillEllipse (double X, double Y, double A, double B, Brush Brush) |
| Fill a ellipse with given center and dimensions with given brush. More... | |
| void | DrawDim (object Start, object End) |
| Draws aligned dimension defined by start and end point. More... | |
| void | DrawDim (object Start, object End, string UserText) |
| Draws aligned dimension defined by start and end point. More... | |
| void | DrawDim (object Start, object End, double Offset) |
| Draws aligned dimension defined by start and end point. Overrides default dimension offset. More... | |
| void | DrawDim (object Start, object End, string UserText, double Offset) |
| Draws aligned dimension defined by start and end point. Overrides default dimension offset. More... | |
| void | DrawDim (object Start, object End, TDimStyle DimStyle) |
| Draws aligned dimension defined by start and end point. Used given dimension style. More... | |
| void | DrawDim (object Start, object End, string UserText, TDimStyle DimStyle) |
| Draws aligned dimension defined by start and end point. Used given dimension style. More... | |
| void | DrawDimX (object Start, object End) |
| Draws horizontal dimension defined by start and end point. Use Graphics.DefaultDimStyle. More... | |
| void | DrawDimX (object Start, object End, string UserText) |
| Draws horizontal dimension defined by start and end point. Use Graphics.DefaultDimStyle. More... | |
| void | DrawDimX (object Start, object End, double Offset) |
| Draws horizontal dimension defined by start and end point. Overrides default dimension offset. More... | |
| void | DrawDimX (object Start, object End, string UserText, double Offset) |
| Draws horizontal dimension defined by start and end point. Overrides default dimension offset. More... | |
| void | DrawDimX (object Start, object End, TDimStyle DimStyle) |
| Draws horizontal dimension defined by start and end point. Use given dimension style. More... | |
| void | DrawDimX (object Start, object End, string UserText, TDimStyle DimStyle) |
| Draws horizontal dimension defined by start and end point. Use given dimension style. More... | |
| void | DrawDimY (object Start, object End) |
| Draws vertical dimension defined by start and end point. Use Graphics.DefaultDimStyle. More... | |
| void | DrawDimY (object Start, object End, string UserText) |
| Draws vertical dimension defined by start and end point. Use Graphics.DefaultDimStyle. More... | |
| void | DrawDimY (object Start, object End, double Offset) |
| Draws vertical dimension defined by start and end point. Overrides default dimension offset. More... | |
| void | DrawDimY (object Start, object End, string UserText, double Offset) |
| Draws vertical dimension defined by start and end point. Overrides default dimension offset. More... | |
| void | DrawDimY (object Start, object End, TDimStyle DimStyle) |
| Draws vertical dimension defined by start and end point. Use given dimension style. More... | |
| void | DrawDimY (object Start, object End, string UserText, TDimStyle DimStyle) |
| Draws vertical dimension defined by start and end point. Use given dimension style. More... | |
| void | DrawRadiusDim (object Start, object End) |
| Draws radius dimension defined by start and end point. Use Graphics.DefaultDimStyle. More... | |
| void | DrawRadiusDim (object Start, object End, string UserText) |
| Draws radius dimension defined by start and end point. Use Graphics.DefaultDimStyle. More... | |
| void | DrawRadiusDim (object Start, object End, TDimStyle DimStyle) |
| Draws radius dimension defined by start and end point. Use given dimension style. More... | |
| void | DrawRadiusDim (object Start, object End, string UserText, TDimStyle DimStyle) |
| Draws radius dimension defined by start and end point. Use given dimension style. More... | |
| void | DrawDiameterDim (object Start, object End) |
| Draws diameter dimension defined by start and end point. Use Graphics.DefaultDimStyle. More... | |
| void | DrawDiameterDim (object Start, object End, string UserText) |
| Draws diameter dimension defined by start and end point. Use Graphics.DefaultDimStyle. More... | |
| void | DrawDiameterDim (object Start, object End, TDimStyle DimStyle) |
| Draws diameter dimension defined by start and end point. Use given dimension style. More... | |
| void | DrawDiameterDim (object Start, object End, string UserText, TDimStyle DimStyle) |
| Draws diameter dimension defined by start and end point. Use given dimension style. More... | |
| void | DrawAngleDim (object Center, object P1, object P2) |
| Draw angle dimension defined by center point and two points on the angle lines. Use Graphics.DefaultDimStyle. More... | |
| void | DrawAngleDim (object Center, object P1, object P2, string UserText) |
| Draw angle dimension defined by center point and two points on the angle lines. Use Graphics.DefaultDimStyle. More... | |
| void | DrawAngleDim (object Center, object P1, object P2, TDimStyle DimStyle) |
| Draw angle dimension defined by center point and two points on the angle lines. Use given dimension style. More... | |
| void | DrawAngleDim (object Center, object P1, object P2, string UserText, TDimStyle DimStyle) |
| Draw angle dimension defined by center point and two points on the angle lines. Use given dimension style. More... | |
| void | DrawAngleDim (object P1, object P2, object P3, object P4) |
| Draw angle dimension defined by 2+2 points. Use Graphics.DefaultDimStyle. More... | |
| void | DrawAngleDim (object P1, object P2, object P3, object P4, string UserText) |
| Draw angle dimension defined by 2+2 points. Use Graphics.DefaultDimStyle. More... | |
| void | DrawAngleDim (object P1, object P2, object P3, object P4, TDimStyle DimStyle) |
| Draw angle dimension defined by 2+2 points. Use given dimension style. More... | |
| void | DrawAngleDim (object P1, object P2, object P3, object P4, string UserText, TDimStyle DimStyle) |
| Draw angle dimension defined by 2+2 points. Use given dimension style. More... | |
| void | DrawChainDimX (IList Points) |
| Draw a horizontal chain dimension over given set of points. Use Graphics.DefaultDimStyle More... | |
| void | DrawChainDimX (IList Points, string UserText) |
| Draw a horizontal chain dimension over given set of points. Use Graphics.DefaultDimStyle More... | |
| void | DrawChainDimX (IList Points, TDimStyle DimStyle) |
| Draw a horizontal chain dimension over given set of points. Use given dimension style. More... | |
| void | DrawChainDimX (IList Points, string UserText, TDimStyle DimStyle) |
| Draw a horizontal chain dimension over given set of points. Use given dimension style. More... | |
| void | DrawChainDimY (IList Points) |
| Draw a vertical chain dimension over given set of points. Use Graphics.DefaultDimStyle More... | |
| void | DrawChainDimY (IList Points, string UserText) |
| Draw a vertical chain dimension over given set of points. Use Graphics.DefaultDimStyle More... | |
| void | DrawChainDimY (IList Points, TDimStyle DimStyle) |
| Draw a vertical chain dimension over given set of points. Use given dimension style. More... | |
| void | DrawChainDimY (IList Points, string UserText, TDimStyle DimStyle) |
| Draw a vertical chain dimension over given set of points. Use given dimension style. More... | |
| void | DrawLeader (object Start, object End, string Text) |
| Draws a leader with specified text. Text is automatically oriented according to leader line. More... | |
| void | DrawLeader (object Start, object End, string Text, ContentAlignment Alignment) |
| Draws a leader with specified text. Text can me aligned as necessary. More... | |
| void | DrawLeader (object Start, object End, string Text, ContentAlignment Alignment, TDimStyle DimStyle) |
| Draws a leader with specified text, alignment and style. More... | |
| void | DrawArrow (double X0, double Y0, double X1, double Y1) |
| Draw arrow from the start to end point with default shape and size. More... | |
| void | DrawArrow (double X0, double Y0, double X1, double Y1, eArrowShape ArrowShape, double ArrowSize) |
| Draw arrow from the start to end point with specified shape and size. More... | |
| void | DrawArrow (double X0, double Y0, double X1, double Y1, eArrowShape ArrowShape, double ArrowSize, Pen P) |
| Draw arrow from the start to end point with specified shape, size and pen. More... | |
| void | DrawArrow (object Start, object End) |
| Draw arrow from the start to end point. More... | |
| void | DrawArrow (object Start, object End, eArrowShape ArrowShape, double ArrowSize) |
| Draw arrow from the start to end point with specified shape and size. More... | |
| void | DrawArrow (object Start, object End, eArrowShape ArrowShape, double ArrowSize, Pen P) |
| Draw arrow from the start to end point with specified shape and size. More... | |
| void | DrawImage (string ImageName, double X, double Y) |
| Draw image from the calculation library at the specified position. More... | |
| void | DrawImage (string ImageName, double X, double Y, double Width, double Height) |
| Draw image from the calculation library at the specified position with the specified size. More... | |
| void | SetClip (double X1, double Y1, double X2, double Y2) |
| Sets the clipping region for the graphics. Entity (or its part) outside this region will not be drawn. More... | |
| void | SetClip (object Point1, object Point2) |
| Sets the clipping region for the graphics. Entity (or its part) outside this region will not be drawn. More... | |
| void | ResetClip () |
| Resets clipping region. More... | |
| void | RotateUCS (double Angle) |
| Rotate user coordinate system (UCS) by a specified angle. More... | |
| void | MoveUCS (double NewX0, double NewY0) |
| Move user coordinate system (UCS) to specified location. More... | |
| void | ScaleUCS (double ZoomX, double ZoomY) |
| Applies the specified scaling operation to the transformation matrix of this Graphics object. More... | |
| void | SaveUCS (int Index) |
| Saves current user coordinate system to position defined by the index. More... | |
| void | LoadUCS (int Index) |
| Load a previously saved UCS from the library. More... | |
Object used for drawing dynamic graphics
| void Clear | ( | ) |
Clear all operations.
| IVisualComponent Draw | ( | double | Zoom | ) |
Draw graphics object to calculation output with given zoom factor
| Zoom | Scale of the graphics |
| IVisualComponent Draw | ( | double | ZoomX, |
| double | ZoomY, | ||
| double | Angle | ||
| ) |
Draw graphics object to calculation output with given zoom factors and rotation
| ZoomX | Scale of the graphics in axis X |
| ZoomY | Scale of the graphics in axis Y |
| Angle | Rotation of the graphics |
| IVisualComponent Draw | ( | double | Width, |
| double | Height | ||
| ) |
Draw graphics object to calculation output. Best fit the object to rectangle with given width and height. Keep aspect ratio.
| Width | Width of the rectangle |
| Height | Height of the rectangle |
| IVisualComponent Draw | ( | double | Width, |
| double | Height, | ||
| bool | KeepAspectRatio | ||
| ) |
Draw graphics object to calculation output. Best fit the object to rectangle with given width and height.
| Width | Width of the rectangle |
| Height | Height of the rectangle |
| KeepAspectRatio | true to keep aspect ratio of the graphics object. Otherwise false. |
| void DrawAngleDim | ( | object | Center, |
| object | P1, | ||
| object | P2 | ||
| ) |
Draw angle dimension defined by center point and two points on the angle lines. Use Graphics.DefaultDimStyle.
| void DrawAngleDim | ( | object | Center, |
| object | P1, | ||
| object | P2, | ||
| string | UserText | ||
| ) |
Draw angle dimension defined by center point and two points on the angle lines. Use Graphics.DefaultDimStyle.
| Center | Center point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P1 | First point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P2 | Second point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| UserText | User text of the dimension. |
| void DrawAngleDim | ( | object | Center, |
| object | P1, | ||
| object | P2, | ||
| TDimStyle | DimStyle | ||
| ) |
Draw angle dimension defined by center point and two points on the angle lines. Use given dimension style.
| Center | Center point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P1 | First point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P2 | Second point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| DimStyle | Style defining font, color, offset and other properties of the dimension. |
| void DrawAngleDim | ( | object | Center, |
| object | P1, | ||
| object | P2, | ||
| string | UserText, | ||
| TDimStyle | DimStyle | ||
| ) |
Draw angle dimension defined by center point and two points on the angle lines. Use given dimension style.
| Center | Center point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P1 | First point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P2 | Second point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| UserText | User text of the dimension. |
| DimStyle | Style defining font, color, offset and other properties of the dimension. |
| void DrawAngleDim | ( | object | P1, |
| object | P2, | ||
| object | P3, | ||
| object | P4 | ||
| ) |
Draw angle dimension defined by 2+2 points. Use Graphics.DefaultDimStyle.
| P1 | Start point of the first line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P2 | End point of the first line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P3 | Start point of the second line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P4 | End point of the second line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| void DrawAngleDim | ( | object | P1, |
| object | P2, | ||
| object | P3, | ||
| object | P4, | ||
| string | UserText | ||
| ) |
Draw angle dimension defined by 2+2 points. Use Graphics.DefaultDimStyle.
| P1 | Start point of the first line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P2 | End point of the first line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P3 | Start point of the second line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P4 | End point of the second line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| UserText | User text of the dimension. |
| void DrawAngleDim | ( | object | P1, |
| object | P2, | ||
| object | P3, | ||
| object | P4, | ||
| TDimStyle | DimStyle | ||
| ) |
Draw angle dimension defined by 2+2 points. Use given dimension style.
| P1 | Start point of the first line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P2 | End point of the first line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P3 | Start point of the second line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P4 | End point of the second line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| DimStyle | Style defining font, color, offset and other properties of the dimension. |
| void DrawAngleDim | ( | object | P1, |
| object | P2, | ||
| object | P3, | ||
| object | P4, | ||
| string | UserText, | ||
| TDimStyle | DimStyle | ||
| ) |
Draw angle dimension defined by 2+2 points. Use given dimension style.
| P1 | Start point of the first line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P2 | End point of the first line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P3 | Start point of the second line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P4 | End point of the second line. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| UserText | User text of the dimension. |
| DimStyle | Style defining font, color, offset and other properties of the dimension. |
| void DrawArc | ( | double | X, |
| double | Y, | ||
| double | Width, | ||
| double | Height, | ||
| double | StartAngle, | ||
| double | Angle | ||
| ) |
Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.
| X | The x-coordinate of the upper-left corner of the rectangle that defines the ellipse. |
| Y | The y-coordinate of the upper-left corner of the rectangle that defines the ellipse. |
| Width | Width of the rectangle that defines the ellipse. |
| Height | Height of the rectangle that defines the ellipse. |
| StartAngle | Angle in degrees measured clockwise from the x-axis to the starting point of the arc. |
| Angle | Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc. |
| void DrawArc | ( | double | X, |
| double | Y, | ||
| double | Width, | ||
| double | Height, | ||
| double | StartAngle, | ||
| double | Angle, | ||
| Pen | P | ||
| ) |
Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.
| X | The x-coordinate of the upper-left corner of the rectangle that defines the ellipse. |
| Y | The y-coordinate of the upper-left corner of the rectangle that defines the ellipse. |
| Width | Width of the rectangle that defines the ellipse. |
| Height | Height of the rectangle that defines the ellipse. |
| StartAngle | Angle in degrees measured clockwise from the x-axis to the starting point of the arc. |
| Angle | Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc. |
| P | Pen used to draw a circle. |
| void DrawArrow | ( | double | X0, |
| double | Y0, | ||
| double | X1, | ||
| double | Y1 | ||
| ) |
Draw arrow from the start to end point with default shape and size.
| X0 | X coordinate of start point |
| Y0 | Y coordinate of start point |
| X1 | X coordinate of end point |
| Y1 | Y coordinate of end point |
| void DrawArrow | ( | double | X0, |
| double | Y0, | ||
| double | X1, | ||
| double | Y1, | ||
| eArrowShape | ArrowShape, | ||
| double | ArrowSize | ||
| ) |
Draw arrow from the start to end point with specified shape and size.
| X0 | X coordinate of start point |
| Y0 | Y coordinate of start point |
| X1 | X coordinate of end point |
| Y1 | Y coordinate of end point |
| ArrowShape | Shape of the arrow. Use ArrowShape enumeration. |
| ArrowSize | Size of the arrow in pixels |
| void DrawArrow | ( | double | X0, |
| double | Y0, | ||
| double | X1, | ||
| double | Y1, | ||
| eArrowShape | ArrowShape, | ||
| double | ArrowSize, | ||
| Pen | P | ||
| ) |
Draw arrow from the start to end point with specified shape, size and pen.
| X0 | X coordinate of start point |
| Y0 | Y coordinate of start point |
| X1 | X coordinate of end point |
| Y1 | Y coordinate of end point |
| ArrowShape | Shape of the arrow. Use ArrowShape enumeration. |
| ArrowSize | Size of the arrow in pixels |
| P | Pen used to draw the arrow. |
| void DrawArrow | ( | object | Start, |
| object | End | ||
| ) |
Draw arrow from the start to end point.
| Start | Starting point of the arrow. |
| End | End point of the arrow. |
| void DrawArrow | ( | object | Start, |
| object | End, | ||
| eArrowShape | ArrowShape, | ||
| double | ArrowSize | ||
| ) |
Draw arrow from the start to end point with specified shape and size.
| Start | Starting point of the arrow. |
| End | End point of the arrow. |
| ArrowShape | Shape of the arrow. Values from the enum: eArrowShape |
| ArrowSize | Size of the arrow in pixels. |
| void DrawArrow | ( | object | Start, |
| object | End, | ||
| eArrowShape | ArrowShape, | ||
| double | ArrowSize, | ||
| Pen | P | ||
| ) |
Draw arrow from the start to end point with specified shape and size.
| Start | Starting point of the arrow. |
| End | End point of the arrow. |
| ArrowShape | Shape of the arrow. Values from the enum: eArrowShape |
| ArrowSize | Size of the arrow in pixels. |
| P | Pen used to draw the arrow. |
| void DrawChainDimX | ( | IList | Points | ) |
Draw a horizontal chain dimension over given set of points. Use Graphics.DefaultDimStyle
| Points | Set of points to be meassured. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| void DrawChainDimX | ( | IList | Points, |
| string | UserText | ||
| ) |
Draw a horizontal chain dimension over given set of points. Use Graphics.DefaultDimStyle
| Points | Set of points to be meassured. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| UserText | User text of the dimension. |
| void DrawChainDimX | ( | IList | Points, |
| TDimStyle | DimStyle | ||
| ) |
Draw a horizontal chain dimension over given set of points. Use given dimension style.
| Points | Set of points to be meassured. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| DimStyle | Style defining font, color, offset and other properties of the dimension. |
| void DrawChainDimX | ( | IList | Points, |
| string | UserText, | ||
| TDimStyle | DimStyle | ||
| ) |
Draw a horizontal chain dimension over given set of points. Use given dimension style.
| Points | Set of points to be meassured. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| UserText | User text of the dimension. |
| DimStyle | Style defining font, color, offset and other properties of the dimension. |
| void DrawChainDimY | ( | IList | Points | ) |
Draw a vertical chain dimension over given set of points. Use Graphics.DefaultDimStyle
| Points | Set of points to be meassured. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| void DrawChainDimY | ( | IList | Points, |
| string | UserText | ||
| ) |
Draw a vertical chain dimension over given set of points. Use Graphics.DefaultDimStyle
| Points | Set of points to be meassured. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| UserText | User text of the dimension. |
| void DrawChainDimY | ( | IList | Points, |
| TDimStyle | DimStyle | ||
| ) |
Draw a vertical chain dimension over given set of points. Use given dimension style.
| Points | Set of points to be meassured. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| DimStyle | Style defining font, color, offset and other properties of the dimension. |
| void DrawChainDimY | ( | IList | Points, |
| string | UserText, | ||
| TDimStyle | DimStyle | ||
| ) |
Draw a vertical chain dimension over given set of points. Use given dimension style.
| Points | Set of points to be meassured. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| UserText | User text of the dimension. |
| DimStyle | Style defining font, color, offset and other properties of the dimension. |
| void DrawCircle | ( | double | X, |
| double | Y, | ||
| double | D | ||
| ) |
Draw a circle with given center and diameter.
| X | X-coordinate of circle center. |
| Y | Y-coordinate of circle center. |
| D | Circle diameter. |
| void DrawCircle | ( | double | X, |
| double | Y, | ||
| double | D, | ||
| Pen | P | ||
| ) |
Draw a circle with given center, diameter and pen.
| X | X-coordinate of circle center. |
| Y | Y-coordinate of circle center. |
| D | Circle diameter. |
| P | Pen used to draw a circle. |
| void DrawCircle | ( | string | ColorName, |
| double | Width, | ||
| double | X, | ||
| double | Y, | ||
| double | R | ||
| ) |
Obsolete function. Do not use!
| void DrawDiameterDim | ( | object | Start, |
| object | End | ||
| ) |
| void DrawDiameterDim | ( | object | Start, |
| object | End, | ||
| string | UserText | ||
| ) |
Draws diameter dimension defined by start and end point. Use Graphics.DefaultDimStyle.
| void DrawDiameterDim | ( | object | Start, |
| object | End, | ||
| TDimStyle | DimStyle | ||
| ) |
Draws diameter dimension defined by start and end point. Use given dimension style.
| void DrawDiameterDim | ( | object | Start, |
| object | End, | ||
| string | UserText, | ||
| TDimStyle | DimStyle | ||
| ) |
Draws diameter dimension defined by start and end point. Use given dimension style.
| Start | Start point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| End | End point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| UserText | User text of the dimension. |
| DimStyle | Style defining font, color, offset and other properties of the dimension. |
| void DrawDim | ( | object | Start, |
| object | End | ||
| ) |
| void DrawDim | ( | object | Start, |
| object | End, | ||
| string | UserText | ||
| ) |
| void DrawDim | ( | object | Start, |
| object | End, | ||
| double | Offset | ||
| ) |
Draws aligned dimension defined by start and end point. Overrides default dimension offset.
| void DrawDim | ( | object | Start, |
| object | End, | ||
| string | UserText, | ||
| double | Offset | ||
| ) |
Draws aligned dimension defined by start and end point. Overrides default dimension offset.
| void DrawDim | ( | object | Start, |
| object | End, | ||
| TDimStyle | DimStyle | ||
| ) |
Draws aligned dimension defined by start and end point. Used given dimension style.
| void DrawDim | ( | object | Start, |
| object | End, | ||
| string | UserText, | ||
| TDimStyle | DimStyle | ||
| ) |
Draws aligned dimension defined by start and end point. Used given dimension style.
| Start | Start point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| End | End point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| UserText | User text of the dimension. |
| DimStyle | Style defining font, color, offset and other properties of the dimension. |
| void DrawDimX | ( | object | Start, |
| object | End | ||
| ) |
| void DrawDimX | ( | object | Start, |
| object | End, | ||
| string | UserText | ||
| ) |
Draws horizontal dimension defined by start and end point. Use Graphics.DefaultDimStyle.
| void DrawDimX | ( | object | Start, |
| object | End, | ||
| double | Offset | ||
| ) |
Draws horizontal dimension defined by start and end point. Overrides default dimension offset.
| void DrawDimX | ( | object | Start, |
| object | End, | ||
| string | UserText, | ||
| double | Offset | ||
| ) |
Draws horizontal dimension defined by start and end point. Overrides default dimension offset.
| void DrawDimX | ( | object | Start, |
| object | End, | ||
| TDimStyle | DimStyle | ||
| ) |
Draws horizontal dimension defined by start and end point. Use given dimension style.
| void DrawDimX | ( | object | Start, |
| object | End, | ||
| string | UserText, | ||
| TDimStyle | DimStyle | ||
| ) |
Draws horizontal dimension defined by start and end point. Use given dimension style.
| Start | Start point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| End | End point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| UserText | User text of the dimension. |
| DimStyle | Style defining font, color, offset and other properties of the dimension. |
| void DrawDimY | ( | object | Start, |
| object | End | ||
| ) |
| void DrawDimY | ( | object | Start, |
| object | End, | ||
| string | UserText | ||
| ) |
Draws vertical dimension defined by start and end point. Use Graphics.DefaultDimStyle.
| void DrawDimY | ( | object | Start, |
| object | End, | ||
| double | Offset | ||
| ) |
Draws vertical dimension defined by start and end point. Overrides default dimension offset.
| void DrawDimY | ( | object | Start, |
| object | End, | ||
| string | UserText, | ||
| double | Offset | ||
| ) |
Draws vertical dimension defined by start and end point. Overrides default dimension offset.
| void DrawDimY | ( | object | Start, |
| object | End, | ||
| TDimStyle | DimStyle | ||
| ) |
Draws vertical dimension defined by start and end point. Use given dimension style.
| void DrawDimY | ( | object | Start, |
| object | End, | ||
| string | UserText, | ||
| TDimStyle | DimStyle | ||
| ) |
Draws vertical dimension defined by start and end point. Use given dimension style.
| Start | Start point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| End | End point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| UserText | User text of the dimension. |
| DimStyle | Style defining font, color, offset and other properties of the dimension. |
| void DrawEllipse | ( | double | X, |
| double | Y, | ||
| double | A, | ||
| double | B | ||
| ) |
Draw a ellipse with given center and dimensions.
| X | X-coordinate of circle center. |
| Y | Y-coordinate of circle center. |
| A | Length of major semi-axis. |
| B | Length of minor semi-axis. |
| void DrawEllipse | ( | double | X, |
| double | Y, | ||
| double | A, | ||
| double | B, | ||
| Pen | P | ||
| ) |
Draw a ellipse with given center, dimensions and pen.
| X | X-coordinate of circle center. |
| Y | Y-coordinate of circle center. |
| A | Length of major semi-axis. |
| B | Length of minor semi-axis. |
| P | Pen used to draw a ellipse. |
| void DrawGraphics | ( | TGraphics | Graphics, |
| double | X, | ||
| double | Y | ||
| ) |
Draw a external graphics object at specified location.
| Graphics | External graphics object. |
| X | X-coordinate of insert point. |
| Y | Y-coordinate of insert point. |
| void DrawGraphics | ( | TGraphics | Graphics, |
| double | X, | ||
| double | Y, | ||
| double | Angle | ||
| ) |
Draw a external graphics object at specified location.
| Graphics | External graphics object. |
| X | X-coordinate of insert point. |
| Y | Y-coordinate of insert point. |
| Angle | Rotation of the external graphics. |
| void DrawGraphics | ( | TGraphics | Graphics, |
| double | X, | ||
| double | Y, | ||
| double | ZoomX, | ||
| double | ZoomY, | ||
| double | Angle | ||
| ) |
Draw a external graphics object at specified location.
| Graphics | External graphics object. |
| X | X-coordinate of insert point. |
| Y | Y-coordinate of insert point. |
| ZoomX | Scale of the inserted graphics in X-axis. |
| ZoomY | Scale of the inserted graphics in Y-axis. |
| Angle | Rotation of the external graphics. |
| void DrawImage | ( | string | ImageName, |
| double | X, | ||
| double | Y | ||
| ) |
Draw image from the calculation library at the specified position.
| ImageName | Case sensitive name of the image. |
| X | X-coordinate of the image insert point. |
| Y | Y-coordinate of the image insert point. |
| void DrawImage | ( | string | ImageName, |
| double | X, | ||
| double | Y, | ||
| double | Width, | ||
| double | Height | ||
| ) |
Draw image from the calculation library at the specified position with the specified size.
| ImageName | Case sensitive name of the image. |
| X | X-coordinate of the image insert point. |
| Y | Y-coordinate of the image insert point. |
| Width | Width of the drawn image. |
| Height | Height of the drawn image. |
| void DrawLeader | ( | object | Start, |
| object | End, | ||
| string | Text | ||
| ) |
Draws a leader with specified text. Text is automatically oriented according to leader line.
| Start | Start point of the leader. |
| End | End point of the leader. |
| Text | Text to print. |
| void DrawLeader | ( | object | Start, |
| object | End, | ||
| string | Text, | ||
| ContentAlignment | Alignment | ||
| ) |
Draws a leader with specified text. Text can me aligned as necessary.
| Start | Start point of the leader. |
| End | End point of the leader. |
| Text | Text to print. |
| Alignment | Alignment of the text towards the leader line. |
| void DrawLeader | ( | object | Start, |
| object | End, | ||
| string | Text, | ||
| ContentAlignment | Alignment, | ||
| TDimStyle | DimStyle | ||
| ) |
Draws a leader with specified text, alignment and style.
| Start | Start point of the leader. |
| End | End point of the leader. |
| Text | Text to print. |
| Alignment | Alignment of the text towards the leader line. |
| DimStyle | Style defining font, color, offset and other properties of the dimension. |
| void DrawLine | ( | double | X1, |
| double | Y1, | ||
| double | X2, | ||
| double | Y2 | ||
| ) |
Draw a line with given coordinates and default pen.
| X1 | X-coordinate of start point |
| Y1 | Y-coordinate of start point |
| X2 | X-coordinate of second point |
| Y2 | Y-coordinate of second point |
| void DrawLine | ( | double | X1, |
| double | Y1, | ||
| double | X2, | ||
| double | Y2, | ||
| Pen | P | ||
| ) |
Draw a line with given coordinates and pen.
| X1 | X-coordinate of start point |
| Y1 | Y-coordinate of start point |
| X2 | X-coordinate of second point |
| Y2 | Y-coordinate of second point |
| P | Pen used to draw a line |
| void DrawLine | ( | object | Pt1, |
| object | Pt2 | ||
| ) |
| void DrawLine | ( | object | Pt1, |
| object | Pt2, | ||
| Pen | P | ||
| ) |
| void DrawLine | ( | string | ColorName, |
| double | Width, | ||
| double | X1, | ||
| double | Y1, | ||
| double | X2, | ||
| double | Y2 | ||
| ) |
Obsolete function. Do not use!
| void DrawLines | ( | IList | Points | ) |
Draws a open polyline defined by an array of Points.
| Points | Array of Points that represent the vertices of the polygon. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| void DrawLines | ( | IList | Points, |
| Pen | P | ||
| ) |
Draws a open polyline defined by an array of Points.
| Points | Array of Points that represent the vertices of the polygon. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P | Pen used to draw a polyline |
| void DrawPolygon | ( | IList | Points | ) |
Draws a closed polygon defined by an array of Points.
| Points | Array of Points that represent the vertices of the polygon. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| void DrawPolygon | ( | IList | Points, |
| Pen | P | ||
| ) |
Draws a closed polygon defined by an array of Points.
| Points | Array of Points that represent the vertices of the polygon. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P | Pen used to draw a polyline |
| void DrawPolyLine | ( | IList | Points | ) |
Draws a closed polygon defined by an array of Points.
| Points | Array of Points that represent the vertices of the polygon. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| void DrawPolyLine | ( | IList | Points, |
| Pen | P | ||
| ) |
Draws a closed polygon defined by an array of Points.
| Points | Array of Points that represent the vertices of the polygon. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| P | Pen used to draw a polyline |
| void DrawPolyLine | ( | string | ColorName, |
| double | Width, | ||
| IList | Points | ||
| ) |
Obsolete function. Do not use!
| void DrawRadiusDim | ( | object | Start, |
| object | End | ||
| ) |
| void DrawRadiusDim | ( | object | Start, |
| object | End, | ||
| string | UserText | ||
| ) |
Draws radius dimension defined by start and end point. Use Graphics.DefaultDimStyle.
| void DrawRadiusDim | ( | object | Start, |
| object | End, | ||
| TDimStyle | DimStyle | ||
| ) |
Draws radius dimension defined by start and end point. Use given dimension style.
| void DrawRadiusDim | ( | object | Start, |
| object | End, | ||
| string | UserText, | ||
| TDimStyle | DimStyle | ||
| ) |
Draws radius dimension defined by start and end point. Use given dimension style.
| Start | Start point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| End | End point of the dimension. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| UserText | User text of the dimension. |
| DimStyle | Style defining font, color, offset and other properties of the dimension. |
| void DrawRectangle | ( | double | X, |
| double | Y, | ||
| double | Width, | ||
| double | Height | ||
| ) |
Draws a rectangle specified by a coordinate pair, a width, and a height.
| X | The x-coordinate of the upper-left corner of the rectangle to draw. |
| Y | The y-coordinate of the upper-left corner of the rectangle to draw. |
| Width | The width of the rectangle to draw. |
| Height | The height of the rectangle to draw. |
| void DrawRectangle | ( | double | X, |
| double | Y, | ||
| double | Width, | ||
| double | Height, | ||
| Pen | P | ||
| ) |
Draws a rectangle specified by a coordinate pair, a width, and a height.
| X | The x-coordinate of the upper-left corner of the rectangle to draw. |
| Y | The y-coordinate of the upper-left corner of the rectangle to draw. |
| Width | The width of the rectangle to draw. |
| Height | The height of the rectangle to draw. |
| P | A Pen that determines the color, width, and style of the rectangle. |
| void DrawText | ( | string | TXT, |
| Font | F, | ||
| double | X, | ||
| double | Y | ||
| ) |
Draws the specified text string at the specified location with the specified Font.
| TXT | String to draw. |
| F | Font that defines the text format of the string. |
| X | X-coordinate of insert point of the text. |
| Y | Y-coordinate of insert point of the text. |
| void DrawText | ( | string | TXT, |
| Font | F, | ||
| double | X, | ||
| double | Y, | ||
| ContentAlignment | Alignment | ||
| ) |
Draws the specified text string at the specified location with the specified Font.
| TXT | String to draw. |
| F | Font that defines the text format of the string. |
| X | X-coordinate of insert point of the text. |
| Y | Y-coordinate of insert point of the text. |
| Alignment | Position of text insert point. |
| void DrawText | ( | string | TXT, |
| Font | F, | ||
| double | X, | ||
| double | Y, | ||
| ContentAlignment | Alignment, | ||
| double | Angle | ||
| ) |
Draws the specified text string at the specified location with the specified Font.
| TXT | String to draw. |
| F | Font that defines the text format of the string. |
| X | X-coordinate of insert point of the text. |
| Y | Y-coordinate of insert point of the text. |
| Alignment | Position of text insert point. |
| Angle | Angle of text in degrees |
| void DrawText | ( | string | TXT, |
| Font | F, | ||
| double | X, | ||
| double | Y, | ||
| ContentAlignment | Alignment, | ||
| double | Angle, | ||
| Color | Color | ||
| ) |
Draws the specified text string at the specified location with the specified Font.
| TXT | String to draw. |
| F | Font that defines the text format of the string. |
| X | X-coordinate of insert point of the text. |
| Y | Y-coordinate of insert point of the text. |
| Alignment | Position of text insert point. |
| Angle | Angle of text in degrees |
| Color | Color of the text. |
| void DrawText | ( | string | TXT, |
| Font | F, | ||
| double | X, | ||
| double | Y, | ||
| ContentAlignment | Alignment, | ||
| Color | Color | ||
| ) |
Draws the specified text string at the specified location with the specified Font.
| TXT | String to draw. |
| F | Font that defines the text format of the string. |
| X | X-coordinate of insert point of the text. |
| Y | Y-coordinate of insert point of the text. |
| Alignment | Position of text insert point. |
| Color | Color of the text. |
| void DrawText | ( | string | ColorName, |
| string | TXT, | ||
| Font | F, | ||
| double | X, | ||
| double | Y | ||
| ) |
Obsolete function. Do not use!
| void FillCircle | ( | double | X, |
| double | Y, | ||
| double | D, | ||
| Color | C | ||
| ) |
Fill a circle with given center and diameter using solid brush of given color.
| X | X-coordinate of circle center. |
| Y | Y-coordinate of circle center. |
| D | Circle diameter. |
| C | Color of brush used for filling |
| void FillCircle | ( | double | X, |
| double | Y, | ||
| double | D, | ||
| Brush | Brush | ||
| ) |
Fill a circle with given center and diameter using given brush
| X | X-coordinate of circle center. |
| Y | Y-coordinate of circle center. |
| D | Circle diameter. |
| Brush | Brush used for filling. |
| void FillEllipse | ( | double | X, |
| double | Y, | ||
| double | A, | ||
| double | B, | ||
| Color | C | ||
| ) |
Fill a ellipse with given center and dimensions with solid brush of given color.
| X | X-coordinate of circle center. |
| Y | Y-coordinate of circle center. |
| A | Length of major semi-axis. |
| B | Length of minor semi-axis. |
| C | Color of brush. |
| void FillEllipse | ( | double | X, |
| double | Y, | ||
| double | A, | ||
| double | B, | ||
| Brush | Brush | ||
| ) |
Fill a ellipse with given center and dimensions with given brush.
| X | X-coordinate of circle center. |
| Y | Y-coordinate of circle center. |
| A | Length of major semi-axis. |
| B | Length of minor semi-axis. |
| Brush | Brush used for filling |
| void FillPolygon | ( | IList | Points, |
| Color | Color | ||
| ) |
Fills the given polygon with solid brush.
| Points | Array of Points that represent the vertices of the polygon. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| Color | Color of the Brush. |
| void FillPolygon | ( | IList | Points, |
| Brush | B | ||
| ) |
Fills the polygon with given brush.
| Points | Array of Points that represent the vertices of the polygon. Acceptable types: Point, PointF, PointD, struct[X, Y]. |
| B | SolidBrush, HatchBrush, LinearGradientBrush, PathGradientBrush, TextureBrush. |
| TStructure GetZoom | ( | double | Width, |
| double | Height, | ||
| bool | KeepAspectRatio | ||
| ) |
Calculate ZoomX and ZoomY for current graphics
| Width | Width of the output |
| Height | Height of the output |
| KeepAspectRatio | TRUE to keep aspect ration, otherwise FALSE. |
| void LoadUCS | ( | int | Index | ) |
Load a previously saved UCS from the library.
| Index | Index of the required UCS. |
| void MoveUCS | ( | double | NewX0, |
| double | NewY0 | ||
| ) |
Move user coordinate system (UCS) to specified location.
| NewX0 | X-coordinate of new origin of the coordinate system. |
| NewY0 | Y-coordinate of new origin of the coordinate system. |
| void ResetClip | ( | ) |
Resets clipping region.
| void RotateUCS | ( | double | Angle | ) |
Rotate user coordinate system (UCS) by a specified angle.
| Angle | Angle of rotation in degrees. |
| void SaveUCS | ( | int | Index | ) |
Saves current user coordinate system to position defined by the index.
| Index | The index at which the UCS should be saved. |
| void ScaleUCS | ( | double | ZoomX, |
| double | ZoomY | ||
| ) |
Applies the specified scaling operation to the transformation matrix of this Graphics object.
| ZoomX | Scale applied to X-Axis. |
| ZoomY | Scale applied to Y-Axis. |
| void SetClip | ( | double | X1, |
| double | Y1, | ||
| double | X2, | ||
| double | Y2 | ||
| ) |
Sets the clipping region for the graphics. Entity (or its part) outside this region will not be drawn.
| X1 | X-coord of first point |
| Y1 | Y-coord of first point |
| X2 | X-coord of second point |
| Y2 | Y-coord of second point |
| void SetClip | ( | object | Point1, |
| object | Point2 | ||
| ) |
Sets the clipping region for the graphics. Entity (or its part) outside this region will not be drawn.
| Point1 | First point defining the clipping rectangle |
| Point2 | Second point defining the cliping rectangle |