Table of Contents

Interface ISvgGlyphStyle

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

This object supplies the values for context-fill, context-stroke, and context-value that are used when rendering SVG glyphs.
ID2D1SvgGlyphStyle

public interface ISvgGlyphStyle : IDirect2DResource, IObjectRef, IIsDisposed, IDisposable, IFactoryProperty, IInternalImpl
Inherited Members
Extension Methods

Properties

StrokeDashOffset

Gets the 'context-value' for the 'stroke-dashoffset' property.

StrokeDashesCount

Gets the length of the stroke dashes array.

StrokeWidth

Gets the 'context-value' for the 'stroke-width' property.

Methods

GetFill()

Returns the requested fill parameters.

GetStrokeBrush()

Describes how the stroke is painted.

GetStrokeDashes(Span<float>)

Gets the 'context-value' for the 'stroke-dasharray' property.

SetFill(IDeviceBrush?)

Provides values to an SVG glyph for fill.

SetStroke(IDeviceBrush?, float, ReadOnlySpan<float>, float)

Provides values to an SVG glyph for stroke properties. The brush with opacity set to 1 is used as the 'context-stroke'. The opacity of the brush is used as the 'context-stroke-opacity' value.