Method GetClipBoundary
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetClipBoundary()
Gets the clip boundary of the image in pixels, as AutoCAD 2021's GetClipBoundary gives it read from a file: a
rectangle of the two corners its record holds as its five corners, the first again at the end, from its least corner,
(x, y) of the least of each, up its x to the greatest y and round, whichever way the two are held; a polygon as its
record holds it. The picture of 4 by 3 pixels not clipped holds (-0.5, -0.5) and (3.5, 2.5),
and gives (-0.5, -0.5), (-0.5, 2.5), (3.5, 2.5), (3.5, -0.5), (-0.5, -0.5). The pixels are counted from the centre
of the top left one, y down; a WIPEOUT's from -0.5 to 0.5 of its frame.
public IReadOnlyList<GeoPoint2> GetClipBoundary()
Returns
- IReadOnlyList<GeoPoint2>
The corners, a new list on each call; none where the record holds none.