編輯

共用方式為


SKImageInfo.BytesPerPixel Property

Definition

Gets the number of bytes used per pixel.

public int BytesPerPixel { get; }

Property Value

Remarks

This is calculated from the ColorType. If the color type is Unknown, then the value will be 0.

Applies to