Click or drag to resize

HatchBrushBaseGetContentStream(Double, NamedColor, NamedColor) Method

Gets an image of the texture. The image dimensions (pixels in x and y direction) are calculated using the provided maxEffectiveResolutionDpi.

Namespace: Altaxo.Graph.Gdi.HatchBrushes
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public virtual Stream GetContentStream(
	double maxEffectiveResolutionDpi,
	NamedColor foreColor,
	NamedColor backColor
)

Parameters

maxEffectiveResolutionDpi  Double
Effective resolution used for later drawing of this image. The higher the resolution, the more pixels are allocated for the bitmap.
foreColor  NamedColor
Foreground color of the hatch brush.
backColor  NamedColor
Background color of the hatch brush.

Return Value

Stream
The image of the texture.

Implements

IHatchBrushTextureGetContentStream(Double, NamedColor, NamedColor)
See Also