Skip to main content

Class SKRoundRect

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

public sealed class SKRoundRect : IDisposable

Inheritance​

object ← SKRoundRect

Implements​

IDisposable

Inherited Members​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors​

SKRoundRect()​

public SKRoundRect()

SKRoundRect(SKRect)​

public SKRoundRect(SKRect rect)

Parameters​

rect SKRect

Properties​

IsEmpty​

public bool IsEmpty { get; }

Property Value​

bool

Radii​

public SKPoint[] Radii { get; }

Property Value​

SKPoint[]

Rect​

public SKRect Rect { get; }

Property Value​

SKRect

Methods​

Deflate(float, float)​

public void Deflate(float dx, float dy)

Parameters​

dx float

dy float

Dispose()​

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Inflate(float, float)​

public void Inflate(float dx, float dy)

Parameters​

dx float

dy float

Offset(float, float)​

public void Offset(float dx, float dy)

Parameters​

dx float

dy float

SetEmpty()​

public void SetEmpty()

SetRect(SKRect)​

public void SetRect(SKRect rect)

Parameters​

rect SKRect

SetRectRadii(SKRect, SKPoint[])​

public void SetRectRadii(SKRect rect, SKPoint[] radii)

Parameters​

rect SKRect

radii SKPoint[]

SetRectRadii(SKRect, ReadOnlySpan<SKPoint>)​

public void SetRectRadii(SKRect rect, ReadOnlySpan<SKPoint> radii)

Parameters​

rect SKRect

radii ReadOnlySpan<SKPoint>