[]
Creates a device-dependent representation of the fill of the geometry that can be subsequently rendered.
public static GeometryRealization Create(DeviceContext1 context, Geometry geometry, float flatteningTolerance)
Public Shared Function Create(context As DeviceContext1, geometry As Geometry, flatteningTolerance As Single) As GeometryRealization
| Type | Name | Description |
|---|---|---|
| DeviceContext1 | context | The device context where the created instance should be attached to. |
| Geometry | geometry | The geometry to realize. |
| float | flatteningTolerance | The flattening tolerance to use when converting Beziers to line segments. This parameter shares the same units as the coordinates of the geometry. |
| Type | Description |
|---|---|
| GeometryRealization |
Creates a device-dependent representation of the stroke of a geometry that can be subsequently rendered.
public static GeometryRealization Create(DeviceContext1 context, Geometry geometry, float flatteningTolerance, float strokeWidth, StrokeStyle strokeStyle)
Public Shared Function Create(context As DeviceContext1, geometry As Geometry, flatteningTolerance As Single, strokeWidth As Single, strokeStyle As StrokeStyle) As GeometryRealization
| Type | Name | Description |
|---|---|---|
| DeviceContext1 | context | The device context where the created instance should be attached to. |
| Geometry | geometry | The geometry to realize. |
| float | flatteningTolerance | The flattening tolerance to use when converting Beziers to line segments. This parameter shares the same units as the coordinates of the geometry. |
| float | strokeWidth | The width of the stroke. This parameter shares the same units as the coordinates of the geometry. |
| StrokeStyle | strokeStyle | The stroke style (optional). |
| Type | Description |
|---|---|
| GeometryRealization |