MCPcopy Create free account
hub / github.com/JetBrains/skija / getShiftPerPixel

Method getShiftPerPixel

shared/java/IHasImageInfo.java:71–71  ·  view source on GitHub ↗

Returns bit shift converting row bytes to row pixels. Returns zero for ColorType#UNKNOWN. @return one of: 0, 1, 2, 3; left shift to convert pixels to bytes

()

Source from the content-addressed store, hash-verified

69 * @return one of: 0, 1, 2, 3; left shift to convert pixels to bytes
70 */
71 default int getShiftPerPixel() {
72 return getImageInfo().getShiftPerPixel();
73 }
74

Callers 2

getShiftPerPixelMethod · 0.65
getShiftPerPixelMethod · 0.65

Implementers 3

Codecshared/java/Codec.java
Bitmapshared/java/Bitmap.java
Imageshared/java/Image.java

Calls

no outgoing calls

Tested by

no test coverage detected