Clipping region in graphics

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

Clipping region in graphics

Postby PetrS » 09 Jul 2015, 10:57

size=150Clipping region in graphics/size
Version 13.400.80+

One of the properties of the Graphics class is the clip region. All drawing done by a given Graphics object is restricted to the clip region of that Graphics object. You can set the clip region by calling the SetClip method.

Call SetClip to set the rectangular clipping region of the Graphics.
Call ResetClip to reset clipping region (= set to infinite).

buSyntax:/u/b
list
*SetClip(PointD Pt1, PointD Pt2)/*:m
*SetClip(double X1, double Y1, double X2, double Y2)/*:m
*ResetClip()/*:m/list:u
Attachments
Graphics_ClipRegion.cls
(19.3 KiB) Downloaded 457 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 4 guests