Skip to content

SkiaBitmap.EncodedOrigin property

Defined in

Type: SkiaBitmap Namespace: Splat.SkiaSharp Assembly: Splat.SkiaSharp.dll

Applies to

net10.0, net9.0, net8.0

public SKEncodedOrigin EncodedOrigin { get; }

View source

Summary: Gets the orientation the source image recorded, which the loader has already applied to the pixels.

Returns: SKEncodedOrigin

Remarks

Anything other than TopLeft means the encoded pixels were stored rotated or mirrored; the value is kept so a caller re-encoding the image can decide what orientation to record.