зеркало из https://github.com/mono/SkiaSharp.git
Fixed a spelling error
This commit is contained in:
Родитель
7d5e4286f0
Коммит
d58c92c252
|
@ -2985,7 +2985,7 @@ typeMask = Mask.Scale | Mask.RectStaysRect
|
|||
public SKEncodedInfoColor Color => color;
|
||||
public SKEncodedInfoAlpha Alpha => alpha;
|
||||
public byte BitsPerComponent => bitsPerComponent;
|
||||
public byte PitsPerPixel {
|
||||
public byte BitsPerPixel {
|
||||
get {
|
||||
switch (color) {
|
||||
case SKEncodedInfoColor.Gray:
|
||||
|
|
|
@ -57,7 +57,7 @@ namespace SkiaSharpSample.Samples
|
|||
canvas.DrawText(string.Format("Pixels: {0} @ {1}b/px", bitmap.Pixels.Length, bitmap.BytesPerPixel), x, y, paint);
|
||||
y += 20;
|
||||
|
||||
canvas.DrawText(string.Format("Encoding: {0} ({1}) @ {2}b/px", encodedInfo.Color, encodedInfo.Alpha, encodedInfo.BytesPerPixel), x, y, paint);
|
||||
canvas.DrawText(string.Format("Encoding: {0} ({1}) @ {2}-bit color", encodedInfo.Color, encodedInfo.Alpha, encodedInfo.BitsPerComponent), x, y, paint);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче