Skip to main content

Class SKRegion

Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll

public sealed class SKRegion : IDisposable

Inheritance

objectSKRegion

Implements

IDisposable

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

SKRectI

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

Methods

Contains(int, int)

public bool Contains(int x, int y)

Parameters

x int

y int

Returns

bool

CreateRectIterator()

public SKRegionRectIterator CreateRectIterator()

Returns

SKRegionRectIterator

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

bool

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()