Share via


PathF Class

Definition

Represents a geometric path consisting of lines, curves, and shapes using single-precision floating-point coordinates.

public ref class PathF : IDisposable
public class PathF : IDisposable
type PathF = class
    interface IDisposable
Public Class PathF
Implements IDisposable
Inheritance
PathF
Implements

Constructors

PathF()
PathF(PathF)
PathF(PointF)
PathF(Single, Single)

Properties

Bounds
Closed
Count
FirstPoint
Item[Int32]
LastPoint
LastPointIndex
OperationCount
PlatformPath
Points
SegmentCountExcludingOpenAndClose
SegmentTypes
SubPathCount

Methods

AddArc(PointF, PointF, Single, Single, Boolean)
AddArc(Single, Single, Single, Single, Single, Single, Boolean)
AppendCircle(PointF, Single)
AppendCircle(Single, Single, Single)
AppendEllipse(RectF)
AppendEllipse(Single, Single, Single, Single)
AppendRectangle(RectF, Boolean)
AppendRectangle(Single, Single, Single, Single, Boolean)
AppendRoundedRectangle(RectF, Single, Boolean)
AppendRoundedRectangle(RectF, Single, Single, Single, Single, Boolean)
AppendRoundedRectangle(RectF, Single, Single)
AppendRoundedRectangle(Single, Single, Single, Single, Single, Boolean)
AppendRoundedRectangle(Single, Single, Single, Single, Single, Single, Single, Single, Boolean)
Close()
CurveTo(PointF, PointF, PointF)
CurveTo(Single, Single, Single, Single, Single, Single)
Dispose()
Equals(Object, Single)
Equals(Object)
GetArcAngle(Int32)
GetArcClockwise(Int32)
GetBoundsByFlattening(Single)
GetFlattenedPath(Single, Boolean)
GetHashCode()
GetPointsForSegment(Int32)
GetRotatedPoint(Int32, PointF, Single)
GetSegmentForPoint(Int32)
GetSegmentInfo(Int32, Int32, Int32, Int32)
GetSegmentPointIndex(Int32)
GetSegmentType(Int32)
InsertCurveTo(PointF, PointF, PointF, Int32)
InsertLineTo(PointF, Int32)
InsertQuadTo(PointF, PointF, Int32)
Invalidate()
IsSubPathClosed(Int32)
LineTo(PointF)
LineTo(Single, Single)
Move(Single, Single)
MovePoint(Int32, Single, Single)
MoveTo(PointF)
MoveTo(Single, Single)
Open()
QuadTo(PointF, PointF)
QuadTo(Single, Single, Single, Single)
RemoveAllSegmentsAfter(Int32)
RemoveSegment(Int32)
Reverse()
Rotate(Single, PointF)
Separate()
SetArcAngle(Int32, Single)
SetArcClockwise(Int32, Boolean)
SetPoint(Int32, PointF)
SetPoint(Int32, Single, Single)
Transform(Matrix3x2)

Extension Methods

DrawArc(PathF, Single, Single, Single, Single, Single, Single, Single)
SVGArcTo(PathF, Single, Single, Single, Boolean, Boolean, Single, Single, Single, Single)

Adds an SVG arc segment to the path.

AsScaledPath(PathF, Single, Single)

Creates a new path by scaling the target path with separate x and y scale factors.

AsScaledPath(PathF, Single)

Creates a new path by scaling the target path uniformly.

ToDefinitionString(PathF, Single)

Converts a path to an SVG-style path definition string.

AsRotatedAndroidPath(PathF, PointF, Single, Single, Single)

Converts a PathF to a SkiaSharp SKPath with a specified pixels-per-unit value, zoom level, and rotation angle.

AsSkiaPath(PathF, Single, Single, Single, Single, Single)

Converts a PathF to a SkiaSharp SKPath with specified transformation parameters.

AsSkiaPath(PathF, Single, Single)

Converts a PathF to a SkiaSharp SKPath with a specified pixels-per-unit value and zoom level.

AsSkiaPath(PathF, Single)

Converts a PathF to a SkiaSharp SKPath with a specified pixels-per-unit value.

AsSkiaPath(PathF)

Converts a PathF to a SkiaSharp SKPath.

AsSkiaPathFromSegment(PathF, Int32, Single, Single)

Converts a segment of a PathF to a SkiaSharp SKPath with a specified pixels-per-unit value and zoom level.

Applies to