Skip to content

SkiaBitmap.EncodedOrigin property

Defined in

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

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-tvos18.0, net9.0-maccatalyst18.0, net9.0-macos15.0, net9.0-desktop1.0, net9.0-ios18.0, net8.0, net8.0-maccatalyst17.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-macos14.5, netstandard2.1

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.