ISvgPaintServer.ResolveBrush

ISvgPaintServer.ResolveBrush method

Resolves the brush for the paint server.

public IBrush ResolveBrush(ISVGDeviceContext deviceContext, 
    ISVGPropertyResolvingContext resolvingContext, float opacity, 
    CancellationToken cancellationToken)
ParameterTypeDescription
deviceContextISVGDeviceContextThe device context used for SVG rendering. See ISVGDeviceContext.
resolvingContextISVGPropertyResolvingContextThe context used for resolving SVG properties. ISVGPropertyResolvingContext
opacitySingleThe opacity value.
cancellationTokenCancellationTokenThe cancellation token.

Return Value

The resolved IBrush.

See Also