CanvasPathGeometry Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Helper Class for creating Win2d objects.
public static class CanvasPathGeometry
type CanvasPathGeometry = class
Public Class CanvasPathGeometry
- Inheritance
-
CanvasPathGeometry
Create |
Parses the given Brush data string and converts it to ICanvasBrush. |
Create |
Converts the color string in Hexadecimal or HDR color format to the corresponding Color object. The hexadecimal color string should be in #RRGGBB or #AARRGGBB format. The '#' character is optional. The HDR color string should be in R G B A format. (R, G, B & A should have value in the range between 0 and 1, inclusive) |
Create |
Converts a Vector4 High Dynamic Range Color to Color object. Negative components of the Vector4 will be sanitized by taking the absolute value of the component. The HDR Color components should have value in the range between 0 and 1, inclusive. If they are more than 1, they will be clamped at 1. Vector4's X, Y, Z, W components match to Color's R, G, B, A components respectively. |
Create |
Parses the Path data string and converts it to CanvasGeometry. |
Create |
Parses the Path data string and converts it to CanvasGeometry. |
Create |
Creates a Squircle geometry with the specified extents. |
Create |
Parses the given Stroke data string and converts it to ICanvasStroke. |
Create |
Parses the give CanvasStrokeStyle data string and converts it to CanvasStrokeStyle. |
Produit | Versions |
---|---|
Windows Community Toolkit | 7.0.0, 7.1.0 |