Method Place
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Place(double, double, double, double)
Gets the lines placed as a HATCH holds them, as AutoCAD 2021 places those of its file: each line's angle turned by the angle, its base point scaled and turned about the origin and moved by the origin given, its step turned into the plane by its own angle and scaled, its dashes scaled. ANSI31 at angle nought and scale 1 is the line at 45 degrees through (0, 0), offset (-2.245, 2.245); at 30 degrees and scale 2, at 75 degrees, offset (-6.134, 1.644).
public IReadOnlyList<DxfPatternDefinition> Place(double angle, double scale, double originX, double originY)
Parameters
angledoubleThe angle of the hatch, in degrees.
scaledoubleThe scale of the hatch, above nought.
originXdoubleThe x of the hatch's origin.
originYdoubleThe y of the hatch's origin.