Creates a device-dependent representation of the stroke of a geometry that can be subsequently rendered.
シンタックス
パラメータ
- context
- The device context where the created instance should be attached to.
- geometry
- The geometry to realize.
- flatteningTolerance
- The flattening tolerance to use when converting Beziers to line segments. This parameter shares the same units as the coordinates of the geometry.
- strokeWidth
- The width of the stroke. This parameter shares the same units as the coordinates of the geometry.
- strokeStyle
- The stroke style (optional).
参照