SKSurfaceProperties 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.
Describes properties and constraints of a given SKSurface.
public class SKSurfaceProperties : SkiaSharp.SKObject
- Inheritance
Remarks
The rendering engine can parse these during drawing, and can sometimes optimize its performance (e.g. disabling an expensive feature).
Constructors
SKSurfaceProperties(SKPixelGeometry) |
Creates a new SKSurfaceProperties instance. |
SKSurfaceProperties(SKSurfaceProps) |
Obsolete.
Creates a new SKSurfaceProperties instance. |
SKSurfaceProperties(SKSurfacePropsFlags, SKPixelGeometry) |
Creates a new SKSurfaceProperties instance. |
SKSurfaceProperties(UInt32, SKPixelGeometry) |
Creates a new SKSurfaceProperties instance. |
Properties
Flags |
Gets or sets the flags. |
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) |
IsUseDeviceIndependentFonts |
Gets a value indicating whether the surface should use device independent fonts. |
OwnsHandle |
Gets a value indicating whether this object should destroy the underlying native object. (Inherited from SKObject) |
PixelGeometry |
Gets or sets the LCD geometry of each pixel on the surface. |
Methods
Dispose() |
Releases all resources used by this SKNativeObject. (Inherited from SKNativeObject) |
Dispose(Boolean) |
Releases the unmanaged resources used by the SKSurfaceProperties 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. |
DisposeUnownedManaged() | (Inherited from SKObject) |
Applies to
SkiaSharp
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기