Table of Contents

Class SkiaRegionHandler

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Implements IRegionHandler provider for the SkiaSharp regions.

public class SkiaRegionHandler : DisposableObject, IBaseObject, IDisposableObject, IRegionHandler, IDisposable
Inheritance
SkiaRegionHandler
Implements

Constructors

SkiaRegionHandler()

Initializes a new instance of the SkiaRegionHandler class.

SkiaRegionHandler(PointD[], FillMode)

Initializes a new instance of the SkiaRegionHandler class.

SkiaRegionHandler(RectD, double?)

Initializes a new instance of the SkiaRegionHandler class with the specified rectangle.

SkiaRegionHandler(Region)

Initializes a new instance of the SkiaRegionHandler class with the specified region.

Properties

ScaleFactor

Gets or sets scale factor used when convertion device-independent units to/from pixels is performed.

Methods

Clear()
ContainsPoint(PointD)
ContainsRect(RectD)
GetBounds()
GetHashCode()

Calculates hash code for this object.

IntersectWithRect(RectD)
IntersectWithRegion(Region)
IsEmpty()
IsEqualTo(Region)

Gets whether or not this region is equal to other region.

IsOk()
Op(RectD, SKRegionOperation)

Performs operation on the region using specified operaion kind and rectangle parameter.

Op(Region, SKRegionOperation)

Performs operation on this region using specified operaion kind and region parameter.

SubtractRect(RectD)
SubtractRegion(Region)
Translate(double, double)
UnionWithRect(RectD)
UnionWithRegion(Region)
XorWithRect(RectD)
XorWithRegion(Region)