C# Class SkiaSharp.SKImageFilter

Inheritance: SKObject
Show file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
CreateAlphaThreshold ( SKRectI region, float innerThreshold, float outerThreshold, SKImageFilter input = null ) : SKImageFilter
CreateArithmetic ( float k1, float k2, float k3, float k4, bool enforcePMColor, SKImageFilter background, SKImageFilter foreground = null, SKImageFilter cropRect = null ) : SKImageFilter
CreateBlendMode ( SKBlendMode mode, SKImageFilter background, SKImageFilter foreground = null, SKImageFilter cropRect = null ) : SKImageFilter
CreateBlur ( float sigmaX, float sigmaY, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
CreateColorFilter ( SKColorFilter cf, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
CreateCompose ( SKImageFilter outer, SKImageFilter inner ) : SKImageFilter
CreateDilate ( int radiusX, int radiusY, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
CreateDisplacementMapEffect ( SKDisplacementMapEffectChannelSelectorType xChannelSelector, SKDisplacementMapEffectChannelSelectorType yChannelSelector, float scale, SKImageFilter displacement, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
CreateDistantLitDiffuse ( SKPoint3 direction, SKColor lightColor, float surfaceScale, float kd, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
CreateDistantLitSpecular ( SKPoint3 direction, SKColor lightColor, float surfaceScale, float ks, float shininess, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
CreateDropShadow ( float dx, float dy, float sigmaX, float sigmaY, SKColor color, SKDropShadowImageFilterShadowMode shadowMode, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
CreateErode ( int radiusX, int radiusY, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
CreateMagnifier ( SKRect src, float inset, SKImageFilter input = null ) : SKImageFilter
CreateMatrix ( SKMatrix matrix, SKFilterQuality quality, SKImageFilter input = null ) : SKImageFilter
CreateMatrixConvolution ( SKSizeI kernelSize, float kernel, float gain, float bias, SKPointI kernelOffset, SKMatrixConvolutionTileMode tileMode, bool convolveAlpha, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
CreateMerge ( SKImageFilter filters, SKXferMode modes = null, SKImageFilter cropRect = null ) : SKImageFilter
CreateOffset ( float dx, float dy, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
CreatePicture ( SKPicture picture ) : SKImageFilter
CreatePicture ( SKPicture picture, SKRect cropRect ) : SKImageFilter
CreatePictureForLocalspace ( SKPicture picture, SKRect cropRect, SKFilterQuality filterQuality ) : SKImageFilter
CreatePointLitDiffuse ( SKPoint3 location, SKColor lightColor, float surfaceScale, float kd, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
CreatePointLitSpecular ( SKPoint3 location, SKColor lightColor, float surfaceScale, float ks, float shininess, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
CreateSpotLitDiffuse ( SKPoint3 location, SKPoint3 target, float specularExponent, float cutoffAngle, SKColor lightColor, float surfaceScale, float kd, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
CreateSpotLitSpecular ( SKPoint3 location, SKPoint3 target, float specularExponent, float cutoffAngle, SKColor lightColor, float surfaceScale, float ks, float shininess, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
CreateTile ( SKRect src, SKRect dst, SKImageFilter input ) : SKImageFilter

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
CreateCompose ( SKDisplacementMapEffectChannelSelectorType xChannelSelector, SKDisplacementMapEffectChannelSelectorType yChannelSelector, float scale, SKImageFilter displacement, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
SKImageFilter ( IntPtr handle, bool owns ) : System

Method Details

CreateAlphaThreshold() public static method

public static CreateAlphaThreshold ( SKRectI region, float innerThreshold, float outerThreshold, SKImageFilter input = null ) : SKImageFilter
region SKRectI
innerThreshold float
outerThreshold float
input SKImageFilter
return SKImageFilter

CreateArithmetic() public static method

public static CreateArithmetic ( float k1, float k2, float k3, float k4, bool enforcePMColor, SKImageFilter background, SKImageFilter foreground = null, SKImageFilter cropRect = null ) : SKImageFilter
k1 float
k2 float
k3 float
k4 float
enforcePMColor bool
background SKImageFilter
foreground SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreateBlendMode() public static method

public static CreateBlendMode ( SKBlendMode mode, SKImageFilter background, SKImageFilter foreground = null, SKImageFilter cropRect = null ) : SKImageFilter
mode SKBlendMode
background SKImageFilter
foreground SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreateBlur() public static method

public static CreateBlur ( float sigmaX, float sigmaY, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
sigmaX float
sigmaY float
input SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreateColorFilter() public static method

public static CreateColorFilter ( SKColorFilter cf, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
cf SKColorFilter
input SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreateCompose() public static method

public static CreateCompose ( SKImageFilter outer, SKImageFilter inner ) : SKImageFilter
outer SKImageFilter
inner SKImageFilter
return SKImageFilter

CreateDilate() public static method

public static CreateDilate ( int radiusX, int radiusY, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
radiusX int
radiusY int
input SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreateDisplacementMapEffect() public static method

public static CreateDisplacementMapEffect ( SKDisplacementMapEffectChannelSelectorType xChannelSelector, SKDisplacementMapEffectChannelSelectorType yChannelSelector, float scale, SKImageFilter displacement, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
xChannelSelector SKDisplacementMapEffectChannelSelectorType
yChannelSelector SKDisplacementMapEffectChannelSelectorType
scale float
displacement SKImageFilter
input SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreateDistantLitDiffuse() public static method

public static CreateDistantLitDiffuse ( SKPoint3 direction, SKColor lightColor, float surfaceScale, float kd, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
direction SKPoint3
lightColor SKColor
surfaceScale float
kd float
input SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreateDistantLitSpecular() public static method

public static CreateDistantLitSpecular ( SKPoint3 direction, SKColor lightColor, float surfaceScale, float ks, float shininess, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
direction SKPoint3
lightColor SKColor
surfaceScale float
ks float
shininess float
input SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreateDropShadow() public static method

public static CreateDropShadow ( float dx, float dy, float sigmaX, float sigmaY, SKColor color, SKDropShadowImageFilterShadowMode shadowMode, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
dx float
dy float
sigmaX float
sigmaY float
color SKColor
shadowMode SKDropShadowImageFilterShadowMode
input SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreateErode() public static method

public static CreateErode ( int radiusX, int radiusY, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
radiusX int
radiusY int
input SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreateMagnifier() public static method

public static CreateMagnifier ( SKRect src, float inset, SKImageFilter input = null ) : SKImageFilter
src SKRect
inset float
input SKImageFilter
return SKImageFilter

CreateMatrix() public static method

public static CreateMatrix ( SKMatrix matrix, SKFilterQuality quality, SKImageFilter input = null ) : SKImageFilter
matrix SKMatrix
quality SKFilterQuality
input SKImageFilter
return SKImageFilter

CreateMatrixConvolution() public static method

public static CreateMatrixConvolution ( SKSizeI kernelSize, float kernel, float gain, float bias, SKPointI kernelOffset, SKMatrixConvolutionTileMode tileMode, bool convolveAlpha, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
kernelSize SKSizeI
kernel float
gain float
bias float
kernelOffset SKPointI
tileMode SKMatrixConvolutionTileMode
convolveAlpha bool
input SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreateMerge() public static method

public static CreateMerge ( SKImageFilter filters, SKXferMode modes = null, SKImageFilter cropRect = null ) : SKImageFilter
filters SKImageFilter
modes SKXferMode
cropRect SKImageFilter
return SKImageFilter

CreateOffset() public static method

public static CreateOffset ( float dx, float dy, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
dx float
dy float
input SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreatePicture() public static method

public static CreatePicture ( SKPicture picture ) : SKImageFilter
picture SKPicture
return SKImageFilter

CreatePicture() public static method

public static CreatePicture ( SKPicture picture, SKRect cropRect ) : SKImageFilter
picture SKPicture
cropRect SKRect
return SKImageFilter

CreatePictureForLocalspace() public static method

public static CreatePictureForLocalspace ( SKPicture picture, SKRect cropRect, SKFilterQuality filterQuality ) : SKImageFilter
picture SKPicture
cropRect SKRect
filterQuality SKFilterQuality
return SKImageFilter

CreatePointLitDiffuse() public static method

public static CreatePointLitDiffuse ( SKPoint3 location, SKColor lightColor, float surfaceScale, float kd, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
location SKPoint3
lightColor SKColor
surfaceScale float
kd float
input SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreatePointLitSpecular() public static method

public static CreatePointLitSpecular ( SKPoint3 location, SKColor lightColor, float surfaceScale, float ks, float shininess, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
location SKPoint3
lightColor SKColor
surfaceScale float
ks float
shininess float
input SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreateSpotLitDiffuse() public static method

public static CreateSpotLitDiffuse ( SKPoint3 location, SKPoint3 target, float specularExponent, float cutoffAngle, SKColor lightColor, float surfaceScale, float kd, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
location SKPoint3
target SKPoint3
specularExponent float
cutoffAngle float
lightColor SKColor
surfaceScale float
kd float
input SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreateSpotLitSpecular() public static method

public static CreateSpotLitSpecular ( SKPoint3 location, SKPoint3 target, float specularExponent, float cutoffAngle, SKColor lightColor, float surfaceScale, float ks, float shininess, SKImageFilter input = null, SKImageFilter cropRect = null ) : SKImageFilter
location SKPoint3
target SKPoint3
specularExponent float
cutoffAngle float
lightColor SKColor
surfaceScale float
ks float
shininess float
input SKImageFilter
cropRect SKImageFilter
return SKImageFilter

CreateTile() public static method

public static CreateTile ( SKRect src, SKRect dst, SKImageFilter input ) : SKImageFilter
src SKRect
dst SKRect
input SKImageFilter
return SKImageFilter

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void