29 instantiations of PathF
Microsoft.Maui.Controls (10)
BoxView\BoxView.cs (1)
88
var path = new
PathF
();
Shapes\Ellipse.cs (1)
35
var path = new
PathF
();
Shapes\Geometry.cs (1)
13
var path = new
PathF
();
Shapes\Line.cs (1)
81
var path = new
PathF
();
Shapes\Path.cs (1)
110
var path = new
PathF
();
Shapes\Polygon.cs (1)
55
var path = new
PathF
();
Shapes\Polyline.cs (1)
54
var path = new
PathF
();
Shapes\Rectangle.cs (1)
54
var path = new
PathF
();
Shapes\RoundRectangle.cs (2)
66
var path = new
PathF
();
97
var path = new
PathF
();
Microsoft.Maui.Graphics (18)
ArcFlattener.cs (1)
104
var path = new
PathF
();
CanvasExtensions.cs (8)
42
var path = new
PathF
();
49
var path = new
PathF
();
56
var path = new
PathF
();
63
var path = new
PathF
();
80
var path = new
PathF
();
87
var path = new
PathF
();
94
var path = new
PathF
();
101
var path = new
PathF
();
PathBuilder.cs (3)
13
return new
PathF
();
184
_path = new
PathF
();
595
var arcPath = new
PathF
(startPoint);
PathExtensions.cs (2)
70
var scaledPath = new
PathF
(target);
81
var scaledPath = new
PathF
(target);
PathF.cs (4)
875
var path = new
PathF
();
956
path = new
PathF
();
1028
return new
PathF
(points, arcSizes, arcClockwise, operations, _subPathCount);
1455
var flattenedPath = new
PathF
();
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (1)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvasState.cs (1)
506
var path = new
PathF
();
141 references to PathF
Microsoft.Maui (8)
Extensions\IndicatorViewExtensions.cs (1)
36
var
path = sH.PathForBounds(new Rect(0, 0, 6, 6));
Graphics\IShape.cs (2)
9
PathF
PathForBounds(Rect bounds);
14
PathF
InnerPathForBounds(Rect bounds, float strokeThickness);
Graphics\ShapeDrawable.cs (5)
61
PathF
? path = shape.PathForBounds(rect);
72
void DrawStrokePath(ICanvas canvas, RectF dirtyRect,
PathF
path)
115
void DrawFillPath(ICanvas canvas, RectF dirtyRect,
PathF
path)
137
void ClipPath(ICanvas canvas,
PathF
path)
142
void ApplyTransform(
PathF
path)
Microsoft.Maui.Controls (42)
BoxView\BoxView.cs (2)
86
PathF
IShape.PathForBounds(Rect bounds)
88
var
path = new PathF();
Shapes\Ellipse.cs (2)
30
public override
PathF
GetPath()
35
var
path = new PathF();
Shapes\EllipseGeometry.cs (1)
57
public override void AppendPath(
PathF
path)
Shapes\Geometry.cs (3)
9
public abstract void AppendPath(
PathF
path);
11
PathF
IShape.PathForBounds(Graphics.Rect bounds)
13
var
path = new PathF();
Shapes\GeometryGroup.cs (1)
108
public override void AppendPath(Graphics.
PathF
path)
Shapes\Line.cs (2)
79
public override
PathF
GetPath()
81
var
path = new PathF();
Shapes\LineGeometry.cs (1)
45
public override void AppendPath(
PathF
path)
Shapes\Path.cs (2)
108
public override
PathF
GetPath()
110
var
path = new PathF();
Shapes\PathGeometry.cs (8)
65
public override void AppendPath(
PathF
path)
97
void AddArc(
PathF
path, ArcSegment arcSegment)
120
void AddLine(
PathF
path, LineSegment lineSegment)
127
void AddPolyLine(
PathF
path, PolyLineSegment polyLineSegment)
135
void AddBezier(
PathF
path, BezierSegment bezierSegment)
143
void AddPolyBezier(
PathF
path, PolyBezierSegment polyBezierSegment)
158
void AddQuad(
PathF
path, QuadraticBezierSegment quadraticBezierSegment)
165
void AddPolyQuad(
PathF
path, PolyQuadraticBezierSegment polyQuadraticBezierSegment)
Shapes\Polygon.cs (2)
53
public override
PathF
GetPath()
55
var
path = new PathF();
Shapes\Polyline.cs (2)
52
public override
PathF
GetPath()
54
var
path = new PathF();
Shapes\Rectangle.cs (2)
49
public override
PathF
GetPath()
54
var
path = new PathF();
Shapes\RectangleGeometry.cs (1)
33
public override void AppendPath(Graphics.
PathF
path)
Shapes\RoundRectangle.cs (8)
56
public override
PathF
GetPath()
66
var
path = new PathF();
73
PathF
IShape.PathForBounds(Graphics.Rect viewBounds)
78
var
path = GetPath();
85
internal
PathF
GetInnerPath(float strokeThickness)
97
var
path = new PathF();
104
PathF
IRoundRectangle.InnerPathForBounds(Rect viewBounds, float strokeThickness)
109
var
path = GetInnerPath(strokeThickness);
Shapes\RoundRectangleGeometry.cs (1)
116
public override void AppendPath(Graphics.
PathF
path)
Shapes\Shape.cs (4)
27
public abstract
PathF
GetPath();
263
PathF
IShape.PathForBounds(Graphics.Rect viewBounds)
268
var
path = GetPath();
275
internal void TransformPathForBounds(
PathF
path, Graphics.Rect viewBounds)
Microsoft.Maui.Graphics (73)
AbstractCanvas.cs (4)
29
protected abstract void PlatformDrawPath(
PathF
path);
196
public void DrawPath(
PathF
path)
202
public abstract void FillPath(
PathF
path, WindingMode windingMode);
204
public abstract void ClipPath(
PathF
path, WindingMode windingMode = WindingMode.NonZero);
ArcFlattener.cs (2)
79
public
PathF
CreateFlattenedPath(
104
var
path = new PathF();
CanvasExtensions.cs (12)
42
var
path = new PathF();
49
var
path = new PathF();
56
var
path = new PathF();
63
var
path = new PathF();
80
var
path = new PathF();
87
var
path = new PathF();
94
var
path = new PathF();
101
var
path = new PathF();
126
public static void DrawPath(this ICanvas target,
PathF
path)
131
public static void FillPath(this ICanvas target,
PathF
path)
136
public static void FillPath(this ICanvas target,
PathF
path, WindingMode windingMode)
141
public static void ClipPath(this ICanvas target,
PathF
path, WindingMode windingMode = WindingMode.NonZero)
ICanvas.cs (4)
90
public void DrawPath(
PathF
path);
97
public void FillPath(
PathF
path, WindingMode windingMode);
109
/// Clips an object so that only the area that's within the region of a <see cref="
PathF
"/> object will be visible.
113
public void ClipPath(
PathF
path, WindingMode windingMode = WindingMode.NonZero);
PathArcExtensions.cs (2)
7
public static void SVGArcTo(this
PathF
aTarget, float rx, float ry, float angle, bool largeArcFlag, bool sweepFlag, float x, float y, float lastPointX, float lastPointY)
106
public static void DrawArc(this
PathF
aPath, float x, float y, float startAngle, float arc, float radius, float yRadius, float xAxisRotation)
PathBuilder.cs (5)
10
public static
PathF
Build(string definition)
16
var
path = pathBuilder.BuildPath(definition);
26
private
PathF
_path;
100
public
PathF
BuildPath(string pathAsString)
595
var
arcPath = new PathF(startPoint);
PathExtensions.cs (7)
9
public static string ToDefinitionString(this
PathF
path, float ppu = 1)
66
public static
PathF
AsScaledPath(
67
this
PathF
target,
70
var
scaledPath = new PathF(target);
76
public static
PathF
AsScaledPath(
77
this
PathF
target,
81
var
scaledPath = new PathF(target);
PathF.cs (28)
47
public PathF(
PathF
path) : this()
243
public
PathF
MoveTo(float x, float y)
248
public
PathF
MoveTo(PointF point)
282
public
PathF
LineTo(float x, float y)
287
public
PathF
LineTo(PointF point)
307
public
PathF
InsertLineTo(PointF point, int index)
329
public
PathF
AddArc(float x1, float y1, float x2, float y2, float startAngle, float endAngle, bool clockwise)
334
public
PathF
AddArc(PointF topLeft, PointF bottomRight, float startAngle, float endAngle, bool clockwise)
352
public
PathF
QuadTo(float cx, float cy, float x, float y)
357
public
PathF
QuadTo(PointF controlPoint, PointF point)
366
public
PathF
InsertQuadTo(PointF controlPoint, PointF point, int index)
389
public
PathF
CurveTo(float c1X, float c1Y, float c2X, float c2Y, float x, float y)
394
public
PathF
CurveTo(PointF controlPoint1, PointF controlPoint2, PointF point)
404
public
PathF
InsertCurveTo(PointF controlPoint1, PointF controlPoint2, PointF point, int index)
873
public
PathF
Rotate(float angleAsDegrees, PointF pivot)
875
var
path = new PathF();
939
public List<
PathF
> Separate()
941
var paths = new List<
PathF
>();
945
PathF
path = null;
987
public
PathF
Reverse()
1292
if (obj is
PathF
compareTo)
1349
if (obj is
PathF
compareTo)
1420
var
path = GetFlattenedPath(flatness, true);
1453
public
PathF
GetFlattenedPath(float flatness = .001f, bool includeSubPaths = false)
1455
var
flattenedPath = new PathF();
1499
var
flattenedArcPath = FlattenArc(topLeft, bottomRight, startAngle, endAngle, clockwise, flatness);
1518
private
PathF
FlattenArc(PointF topLeft, PointF bottomRight, float startAngle, float endAngle, bool clockwise, float flattness)
1521
var
flattenedPath = arcFlattener.CreateFlattenedPath(flattness);
PictureCanvas.cs (3)
184
public void DrawPath(
PathF
path)
189
public void FillPath(
PathF
path, WindingMode windingMode)
194
public void ClipPath(
PathF
path, WindingMode windingMode = WindingMode.NonZero)
ScalingCanvas.cs (6)
175
public void DrawPath(
PathF
path)
177
var
scaledPath = path.AsScaledPath(_scaleX, _scaleY);
181
public void FillPath(
PathF
path, WindingMode windingMode)
183
var
scaledPath = path.AsScaledPath(_scaleX, _scaleY);
187
public void ClipPath(
PathF
path, WindingMode windingMode = WindingMode.NonZero)
189
var
scaledPath = path.AsScaledPath(_scaleX, _scaleY);
Microsoft.Maui.Graphics.Skia (9)
SKGraphicsExtensions.cs (6)
96
public static SKPath AsSkiaPath(this
PathF
target)
101
public static SKPath AsSkiaPath(this
PathF
path, float ppu)
107
this
PathF
path,
186
public static SKPath AsSkiaPath(this
PathF
path, float ppu, float zoom)
191
public static SKPath AsSkiaPathFromSegment(this
PathF
target, int segmentIndex, float ppu, float zoom)
261
public static SKPath AsRotatedAndroidPath(this
PathF
target, PointF center, float ppu, float zoom, float angle)
SkiaCanvas.cs (3)
592
PathF
path)
599
public override void ClipPath(
PathF
path,
607
public override void FillPath(
PathF
path,
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (9)
src\Graphics\src\Graphics\Platforms\Windows\GraphicsExtensions.cs (3)
106
public static CanvasGeometry AsPath(this
PathF
path, ICanvasResourceCreator creator, CanvasFilledRegionDetermination fillMode = CanvasFilledRegionDetermination.Winding) =>
125
(this
PathF
path, float ox, float oy, float fx, float fy, ICanvasResourceCreator creator, CanvasFilledRegionDetermination fillMode = CanvasFilledRegionDetermination.Winding)
268
(this
PathF
path, int segmentIndex, float zoom, ICanvasResourceCreator creator)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (4)
143
public override void FillPath(
PathF
path, WindingMode windingMode)
155
public override void ClipPath(
PathF
path, WindingMode windingMode = WindingMode.NonZero)
658
private CanvasGeometry GetPath(
PathF
path, CanvasFilledRegionDetermination fillMode = CanvasFilledRegionDetermination.Winding)
671
protected override void PlatformDrawPath(
PathF
path)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvasState.cs (2)
482
public void ClipPath(
PathF
path, WindingMode windingMode)
506
var
path = new PathF();