Class PathGeometry1
[Guid("62baa2d2-ab54-41b7-b872-787e0106a421")]
public class PathGeometry1 : PathGeometry
- Inheritance
-
PathGeometry1
- Inherited Members
Constructors
PathGeometry1(Factory1)
Initializes a new instance of the PathGeometry1 class.
public PathGeometry1(Factory1 factory)
Parameters
factory
Factory1The factory.
PathGeometry1(nint)
public PathGeometry1(nint nativePtr)
Parameters
nativePtr
nint
Methods
ComputePointAndSegmentAtLength(float, int, RawMatrix3x2?, float, out PointDescription)
Computes the point that exists at a given distance along the path geometry along with the index of the segment the point is on and the directional vector at that point.
public void ComputePointAndSegmentAtLength(float length, int startSegment, RawMatrix3x2? worldTransform, float flatteningTolerance, out PointDescription ointDescriptionRef)
Parameters
length
floatThe distance to walk along the path.
startSegment
intThe index of the segment at which to begin walking. Note: This index is global to the entire path, not just a particular figure.
worldTransform
RawMatrix3x2?The transform to apply to the path prior to walking.
flatteningTolerance
floatThe flattening tolerance to use when walking along an arc or Bezier segment. The flattening tolerance is the maximum error allowed when constructing a polygonal approximation of the geometry. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance. Smaller values produce more accurate results but cause slower execution.
ointDescriptionRef
PointDescriptionWhen this method returns, contains a description of the point that can be found at the given location.
Operators
explicit operator PathGeometry1(nint)
public static explicit operator PathGeometry1(nint nativePtr)
Parameters
nativePtr
nint