SKMaskFilter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Mask filters perform transformations on an alpha-channel mask before drawing. A mask filter is set using the MaskFilter property on SKPaint type.
public class SKMaskFilter : SkiaSharp.SKObject
- Inheritance
Fields
TableMaxLength |
Gets the maximum number of colors in the color lookup table. |
Properties
Handle |
Gets or sets the handle to the underlying native object. (Inherited from SKObject) |
IgnorePublicDispose |
Gets or sets a value indicating whether the call the public Dispose() should be no-op. (Inherited from SKNativeObject) |
IsDisposed |
Gets or sets a value indicating whether the object has already been disposed. (Inherited from SKNativeObject) |
OwnsHandle |
Gets a value indicating whether this object should destroy the underlying native object. (Inherited from SKObject) |
Methods
ConvertRadiusToSigma(Single) |
Converts from the (legacy) idea of specifying the blur "radius" to the standard notion of specifying its sigma. |
ConvertSigmaToRadius(Single) |
Converts from the standard notion of specifying the blur sigma to the (legacy) idea of specifying its "radius". |
CreateBlur(SKBlurStyle, Single) |
Creates a mask filter that applies a blur. |
CreateBlur(SKBlurStyle, Single, Boolean) | |
CreateBlur(SKBlurStyle, Single, SKBlurMaskFilterFlags) |
Obsolete.
Creates a mask filter that applies a blur. |
CreateBlur(SKBlurStyle, Single, SKRect) |
Obsolete.
Creates a mask filter that applies a blur. |
CreateBlur(SKBlurStyle, Single, SKRect, Boolean) |
Obsolete.
Creates a mask filter that applies a blur. |
CreateBlur(SKBlurStyle, Single, SKRect, SKBlurMaskFilterFlags) |
Obsolete.
Obsolete.
Creates a mask filter that applies a blur. |
CreateClip(Byte, Byte) |
Creates a mask filter that clips the alpha channel to the specified minimum and maximum alpha values. |
CreateGamma(Single) |
Creates a mask filter that applies gamma. |
CreateTable(Byte[]) |
Creates a mask filter that applies a table lookup on each of the alpha values in the mask. |
Dispose() |
Releases all resources used by this SKNativeObject. (Inherited from SKNativeObject) |
Dispose(Boolean) |
Releases the unmanaged resources used by the SKMaskFilter and optionally releases the managed resources. |
DisposeInternal() |
Triggers a dispose, ignoring the value of IgnorePublicDispose. (Inherited from SKNativeObject) |
DisposeManaged() |
Implemented by derived SKObject types to destroy any managed objects. (Inherited from SKObject) |
DisposeNative() |
Implemented by derived SKObject types to destroy any native objects. (Inherited from SKObject) |
DisposeUnownedManaged() | (Inherited from SKObject) |
Applies to
SkiaSharp
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기