Graphics
Posted: 16 Jul 2014, 07:14
Graphics
Graphics is a powerfull tool to add vector graphics into your calculations.
There is possible to draw Lines, Dimensions, Brushes,Texts and Arrows.
Also is possible to move or rotate whole picture (ULS move, rotate)
Graphics is activated by "Object <variable> = new Graphics();"
Every part is called by "<variable>." - dots
Drawing possibilities:
All colors and fonts are available.
Graphics is drawn by "<variable>.Draw(double Zoom);"
See simple example in attachement
Graphics is a powerfull tool to add vector graphics into your calculations.
There is possible to draw Lines, Dimensions, Brushes,Texts and Arrows.
Also is possible to move or rotate whole picture (ULS move, rotate)
Graphics is activated by "Object <variable> = new Graphics();"
Every part is called by "<variable>." - dots
Drawing possibilities:
- Line type - Arc, Circle, Ellipse, Line and Polyline
- Dimension type - AngleDim, DiameterDim, Dim, DimX, DimY, ChainDimX, ChainDimY and RadiusDim
- Brushes - FillCircle, FillEllipse, FillPolygon - with possibilities of Fill brush, Hatched brush and LinearGradient brush
- Text type - Text (standard formatted text placed everywhere in the picture)
- Arrows - special object for drawing arrows
All colors and fonts are available.
Graphics is drawn by "<variable>.Draw(double Zoom);"
See simple example in attachement