Graphics

Info about design forms features
PetrS
Site Admin
Posts: 181
Joined: 11 Jul 2014, 13:55

Graphics

Postby PetrS » 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:
  • 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
Attachments
Graphics_polygon.cls
(35.66 KiB) Downloaded 361 times
Ing. Petr Slepicka
DesignForms Online
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!

Return to “Design forms features”

Who is online

Users browsing this forum: No registered users and 3 guests