TextureBrush

StockSharp.Xaml.Charting.Rendering

Implements: IBrush2D, IPathColor, IDisposable

Methods

GetByteTexture
public byte[] GetByteTexture(Size viewportSize)
result = textureBrush.GetByteTexture(viewportSize)

Returns: BGRA byte array for AggSharp renderer

GetIntOffsetNotConsideringMappingMode
public int GetIntOffsetNotConsideringMappingMode(int screenX, int screenY, double gradiendRotationAngle)
result = textureBrush.GetIntOffsetNotConsideringMappingMode(screenX, screenY, gradiendRotationAngle)

Used for the mountain area filling.

screenX
screenY
gradiendRotationAngle
GetIntTexture
public int[] GetIntTexture(Size viewportSize)
result = textureBrush.GetIntTexture(viewportSize)

Returns: int32 array for WriteableBitmap renderer