Class SkiaSharpExtensions
Namespace: Avalonia.Skia
Assembly: Avalonia.Skia.dll
public static class SkiaSharpExtensions
Inheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Clone(SKPath?)
public static SKPath? Clone(this SKPath? src)
Parameters
src SKPath?
Returns
ToAlphaFormat(SKAlphaType)
public static AlphaFormat ToAlphaFormat(this SKAlphaType fmt)
Parameters
fmt SKAlphaType
Returns
AlphaFormat
ToAvalonia(SKColorType)
public static PixelFormat? ToAvalonia(this SKColorType colorType)
Parameters
colorType SKColorType
Returns
PixelFormat?
ToAvalonia(SKTextAlign)
public static TextAlignment ToAvalonia(this SKTextAlign a)
Parameters
Returns
TextAlignment
ToAvalonia(SKFontStyleSlant)
public static FontStyle ToAvalonia(this SKFontStyleSlant slant)
Parameters
slant SKFontStyleSlant
Returns
FontStyle
ToAvaloniaPixelRect(SKRectI)
public static PixelRect ToAvaloniaPixelRect(this SKRectI r)
Parameters
r SKRectI
Returns
PixelRect
ToAvaloniaRect(SKRect)
public static Rect ToAvaloniaRect(this SKRect r)
Parameters
r SKRect
Returns
Rect
ToPixelFormat(SKColorType)
public static PixelFormat ToPixelFormat(this SKColorType fmt)
Parameters
fmt SKColorType
Returns
PixelFormat
ToSKBlendMode(BitmapBlendingMode)
public static SKBlendMode ToSKBlendMode(this BitmapBlendingMode blendingMode)
Parameters
blendingMode BitmapBlendingMode
Returns
ToSKColor(Color)
public static SKColor ToSKColor(this Color c)
Parameters
c Color
Returns
ToSKMatrix(Matrix)
public static SKMatrix ToSKMatrix(this Matrix m)
Parameters
m Matrix
Returns
ToSKMatrix44(Matrix)
public static SKMatrix44 ToSKMatrix44(this Matrix m)
Parameters
m Matrix
Returns
ToSKPoint(Point)
public static SKPoint ToSKPoint(this Point p)
Parameters
p Point
Returns
ToSKPoint(Vector)
public static SKPoint ToSKPoint(this Vector p)
Parameters
p Vector
Returns
ToSKRect(Rect)
public static SKRect ToSKRect(this Rect r)
Parameters
r Rect
Returns
ToSKRectI(PixelRect)
public static SKRectI ToSKRectI(this PixelRect r)
Parameters
r PixelRect
Returns
ToSKRoundRect(RoundedRect)
public static SKRoundRect ToSKRoundRect(this RoundedRect r)
Parameters
r RoundedRect
Returns
ToSKSamplingOptions(BitmapInterpolationMode)
public static SKSamplingOptions ToSKSamplingOptions(this BitmapInterpolationMode interpolationMode)
Parameters
interpolationMode BitmapInterpolationMode
Returns
ToSKShaderTileMode(GradientSpreadMethod)
public static SKShaderTileMode ToSKShaderTileMode(this GradientSpreadMethod m)
Parameters
m GradientSpreadMethod
Returns
ToSKStrokeCap(PenLineCap)
public static SKStrokeCap ToSKStrokeCap(this PenLineCap cap)
Parameters
cap PenLineCap
Returns
ToSKStrokeJoin(PenLineJoin)
public static SKStrokeJoin ToSKStrokeJoin(this PenLineJoin join)
Parameters
join PenLineJoin
Returns
ToSKTextAlign(TextAlignment)
public static SKTextAlign ToSKTextAlign(this TextAlignment a)
Parameters
a TextAlignment
Returns
ToSkAlphaType(AlphaFormat)
public static SKAlphaType ToSkAlphaType(this AlphaFormat fmt)
Parameters
fmt AlphaFormat
Returns
ToSkColorType(PixelFormat)
public static SKColorType ToSkColorType(this PixelFormat fmt)
Parameters
fmt PixelFormat