SKShader

Undocumented in source.
class SKShader : SKObject {}

Constructors

this
this(void* handle, bool owns)
Undocumented in source.

Members

Functions

Dispose
void Dispose(bool disposing)
Undocumented in source. Be warned that the author may not have intended to support it.
Dispose
void Dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
WithColorFilter
SKShader WithColorFilter(SKColorFilter filter)
Undocumented in source. Be warned that the author may not have intended to support it.
WithLocalMatrix
SKShader WithLocalMatrix(SKMatrix localMatrix)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

CreateBitmap
SKShader CreateBitmap(SKBitmap src)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateBitmap
SKShader CreateBitmap(SKBitmap src, SKShaderTileMode tmx, SKShaderTileMode tmy)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateBitmap
SKShader CreateBitmap(SKBitmap src, SKShaderTileMode tmx, SKShaderTileMode tmy, SKMatrix localMatrix)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateColor
SKShader CreateColor(SKColor color)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateColor
SKShader CreateColor(SKColorF color, SKColorSpace colorspace)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateColorFilter
SKShader CreateColorFilter(SKShader shader, SKColorFilter filter)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateCompose
SKShader CreateCompose(SKShader shaderA, SKShader shaderB)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateCompose
SKShader CreateCompose(SKShader shaderA, SKShader shaderB, SKBlendMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateEmpty
SKShader CreateEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
CreateImage
SKShader CreateImage(SKImage src)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateImage
SKShader CreateImage(SKImage src, SKShaderTileMode tmx, SKShaderTileMode tmy)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateImage
SKShader CreateImage(SKImage src, SKShaderTileMode tmx, SKShaderTileMode tmy, SKMatrix localMatrix)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateLerp
SKShader CreateLerp(float weight, SKShader dst, SKShader src)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateLinearGradient
SKShader CreateLinearGradient(SKPoint start, SKPoint end, SKColor[] colors, SKShaderTileMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateLinearGradient
SKShader CreateLinearGradient(SKPoint start, SKPoint end, SKColor[] colors, float[] colorPos, SKShaderTileMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateLinearGradient
SKShader CreateLinearGradient(SKPoint start, SKPoint end, SKColorF[] colors, SKColorSpace colorspace, SKShaderTileMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateLinearGradient
SKShader CreateLinearGradient(SKPoint start, SKPoint end, SKColorF[] colors, SKColorSpace colorspace, float[] colorPos, SKShaderTileMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateLocalMatrix
SKShader CreateLocalMatrix(SKShader shader, SKMatrix localMatrix)
Undocumented in source. Be warned that the author may not have intended to support it.
CreatePerlinNoiseFractalNoise
SKShader CreatePerlinNoiseFractalNoise(float baseFrequencyX, float baseFrequencyY, int numOctaves, float seed)
Undocumented in source. Be warned that the author may not have intended to support it.
CreatePerlinNoiseFractalNoise
SKShader CreatePerlinNoiseFractalNoise(float baseFrequencyX, float baseFrequencyY, int numOctaves, float seed, SKPointI tileSize)
Undocumented in source. Be warned that the author may not have intended to support it.
CreatePerlinNoiseFractalNoise
SKShader CreatePerlinNoiseFractalNoise(float baseFrequencyX, float baseFrequencyY, int numOctaves, float seed, SKSizeI tileSize)
Undocumented in source. Be warned that the author may not have intended to support it.
CreatePerlinNoiseImprovedNoise
SKShader CreatePerlinNoiseImprovedNoise(float baseFrequencyX, float baseFrequencyY, int numOctaves, float z)
Undocumented in source. Be warned that the author may not have intended to support it.
CreatePerlinNoiseTurbulence
SKShader CreatePerlinNoiseTurbulence(float baseFrequencyX, float baseFrequencyY, int numOctaves, float seed)
Undocumented in source. Be warned that the author may not have intended to support it.
CreatePerlinNoiseTurbulence
SKShader CreatePerlinNoiseTurbulence(float baseFrequencyX, float baseFrequencyY, int numOctaves, float seed, SKPointI tileSize)
Undocumented in source. Be warned that the author may not have intended to support it.
CreatePerlinNoiseTurbulence
SKShader CreatePerlinNoiseTurbulence(float baseFrequencyX, float baseFrequencyY, int numOctaves, float seed, SKSizeI tileSize)
Undocumented in source. Be warned that the author may not have intended to support it.
CreatePicture
SKShader CreatePicture(SKPicture src)
Undocumented in source. Be warned that the author may not have intended to support it.
CreatePicture
SKShader CreatePicture(SKPicture src, SKShaderTileMode tmx, SKShaderTileMode tmy)
Undocumented in source. Be warned that the author may not have intended to support it.
CreatePicture
SKShader CreatePicture(SKPicture src, SKShaderTileMode tmx, SKShaderTileMode tmy, SKRect tile)
Undocumented in source. Be warned that the author may not have intended to support it.
CreatePicture
SKShader CreatePicture(SKPicture src, SKShaderTileMode tmx, SKShaderTileMode tmy, SKMatrix localMatrix, SKRect tile)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateRadialGradient
SKShader CreateRadialGradient(SKPoint center, float radius, SKColor[] colors, SKShaderTileMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateRadialGradient
SKShader CreateRadialGradient(SKPoint center, float radius, SKColor[] colors, float[] colorPos, SKShaderTileMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateRadialGradient
SKShader CreateRadialGradient(SKPoint center, float radius, SKColor[] colors, float[] colorPos, SKShaderTileMode mode, SKMatrix localMatrix)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateRadialGradient
SKShader CreateRadialGradient(SKPoint center, float radius, SKColorF[] colors, SKColorSpace colorspace, SKShaderTileMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateRadialGradient
SKShader CreateRadialGradient(SKPoint center, float radius, SKColorF[] colors, SKColorSpace colorspace, float[] colorPos, SKShaderTileMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateRadialGradient
SKShader CreateRadialGradient(SKPoint center, float radius, SKColorF[] colors, SKColorSpace colorspace, float[] colorPos, SKShaderTileMode mode, SKMatrix localMatrix)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateSweepGradient
SKShader CreateSweepGradient(SKPoint center, SKColor[] colors)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateSweepGradient
SKShader CreateSweepGradient(SKPoint center, SKColor[] colors, float[] colorPos)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateSweepGradient
SKShader CreateSweepGradient(SKPoint center, SKColor[] colors, float[] colorPos, SKMatrix localMatrix)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateSweepGradient
SKShader CreateSweepGradient(SKPoint center, SKColor[] colors, SKShaderTileMode tileMode, float startAngle, float endAngle)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateSweepGradient
SKShader CreateSweepGradient(SKPoint center, SKColor[] colors, float[] colorPos, SKShaderTileMode tileMode, float startAngle, float endAngle)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateSweepGradient
SKShader CreateSweepGradient(SKPoint center, SKColor[] colors, float[] colorPos, SKShaderTileMode tileMode, float startAngle, float endAngle, SKMatrix localMatrix)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateSweepGradient
SKShader CreateSweepGradient(SKPoint center, SKColorF[] colors, SKColorSpace colorspace)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateSweepGradient
SKShader CreateSweepGradient(SKPoint center, SKColorF[] colors, SKColorSpace colorspace, float[] colorPos)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateSweepGradient
SKShader CreateSweepGradient(SKPoint center, SKColorF[] colors, SKColorSpace colorspace, float[] colorPos, SKMatrix localMatrix)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateSweepGradient
SKShader CreateSweepGradient(SKPoint center, SKColorF[] colors, SKColorSpace colorspace, SKShaderTileMode tileMode, float startAngle, float endAngle)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateSweepGradient
SKShader CreateSweepGradient(SKPoint center, SKColorF[] colors, SKColorSpace colorspace, float[] colorPos, SKShaderTileMode tileMode, float startAngle, float endAngle)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateSweepGradient
SKShader CreateSweepGradient(SKPoint center, SKColorF[] colors, SKColorSpace colorspace, float[] colorPos, SKShaderTileMode tileMode, float startAngle, float endAngle, SKMatrix localMatrix)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateTwoPointConicalGradient
SKShader CreateTwoPointConicalGradient(SKPoint start, float startRadius, SKPoint end, float endRadius, SKColor[] colors, SKShaderTileMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateTwoPointConicalGradient
SKShader CreateTwoPointConicalGradient(SKPoint start, float startRadius, SKPoint end, float endRadius, SKColor[] colors, float[] colorPos, SKShaderTileMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateTwoPointConicalGradient
SKShader CreateTwoPointConicalGradient(SKPoint start, float startRadius, SKPoint end, float endRadius, SKColor[] colors, float[] colorPos, SKShaderTileMode mode, SKMatrix localMatrix)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateTwoPointConicalGradient
SKShader CreateTwoPointConicalGradient(SKPoint start, float startRadius, SKPoint end, float endRadius, SKColorF[] colors, SKColorSpace colorspace, SKShaderTileMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateTwoPointConicalGradient
SKShader CreateTwoPointConicalGradient(SKPoint start, float startRadius, SKPoint end, float endRadius, SKColorF[] colors, SKColorSpace colorspace, float[] colorPos, SKShaderTileMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateTwoPointConicalGradient
SKShader CreateTwoPointConicalGradient(SKPoint start, float startRadius, SKPoint end, float endRadius, SKColorF[] colors, SKColorSpace colorspace, float[] colorPos, SKShaderTileMode mode, SKMatrix localMatrix)
Undocumented in source. Be warned that the author may not have intended to support it.
GetObject
SKShader GetObject(void* handle)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From SKObject

Handle
void* Handle()
Undocumented in source. Be warned that the author may not have intended to support it.
Handle
void Handle(void* value)
Undocumented in source. Be warned that the author may not have intended to support it.
registerOwnedObject
void registerOwnedObject(void* handle, SKObject obj)
Undocumented in source. Be warned that the author may not have intended to support it.
registerKeepAliveObject
void registerKeepAliveObject(void* handle, SKObject obj)
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeUnownedManaged
void DisposeUnownedManaged()
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeManaged
void DisposeManaged()
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeNative
void DisposeNative()
Undocumented in source. Be warned that the author may not have intended to support it.
GetOrAddObject
TSkiaObject GetOrAddObject(void* handle, Func!(void*, bool, TSkiaObject) objectFactory)
Undocumented in source. Be warned that the author may not have intended to support it.
GetOrAddObject
TSkiaObject GetOrAddObject(void* handle, bool owns, Func!(void*, bool, TSkiaObject) objectFactory)
Undocumented in source. Be warned that the author may not have intended to support it.
GetOrAddObject
TSkiaObject GetOrAddObject(void* handle, bool owns, bool unrefExisting, Func!(void*, bool, TSkiaObject) objectFactory)
Undocumented in source. Be warned that the author may not have intended to support it.
RegisterHandle
void RegisterHandle(void* handle, SKObject instance)
Undocumented in source. Be warned that the author may not have intended to support it.
DeregisterHandle
void DeregisterHandle(void* handle, SKObject instance)
Undocumented in source. Be warned that the author may not have intended to support it.
GetInstance
bool GetInstance(void* handle, TSkiaObject instance)
Undocumented in source. Be warned that the author may not have intended to support it.
PreventPublicDisposal
void PreventPublicDisposal()
Undocumented in source. Be warned that the author may not have intended to support it.
RevokeOwnership
void RevokeOwnership(SKObject newOwner)
Undocumented in source. Be warned that the author may not have intended to support it.
OwnedBy
T OwnedBy(T child, SKObject owner)
Undocumented in source. Be warned that the author may not have intended to support it.
Owned
T Owned(T owner, SKObject child)
Undocumented in source. Be warned that the author may not have intended to support it.
Referenced
T Referenced(T owner, SKObject child)
Undocumented in source. Be warned that the author may not have intended to support it.
PtrToStructureArray
T[] PtrToStructureArray(void* intPtr, int count)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta