Class SKRegion
Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll
public sealed class SKRegion : IDisposable
Inheritance
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
SKRegion()
public SKRegion()
Properties
Bounds
public SKRectI Bounds { get; }
Property Value
IsEmpty
public bool IsEmpty { get; }
Property Value
Methods
Contains(int, int)
public bool Contains(int x, int y)
Parameters
x
int
y
int
Returns
CreateRectIterator()
public SKRegionRectIterator CreateRectIterator()
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Intersects(SKRectI)
public bool Intersects(SKRectI rect)
Parameters
rect
SKRectI
Returns
Op(int, int, int, int, SKRegionOperation)
public void Op(int left, int top, int right, int bottom, SKRegionOperation operation)
Parameters
left
int
top
int
right
int
bottom
int
operation
SKRegionOperation
Op(SKRectI, SKRegionOperation)
public void Op(SKRectI rect, SKRegionOperation operation)
Parameters
rect
SKRectI
operation
SKRegionOperation
SetEmpty()
public void SetEmpty()