[]
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)
| 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)
| 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 |