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

Method makeN32

shared/java/ImageInfo.java:42–45  ·  view source on GitHub ↗

@return ImageInfo with ColorType#N32

(int width, int height, @NotNull ColorAlphaType alphaType)

Source from the content-addressed store, hash-verified

40 * @return ImageInfo with {@link ColorType#N32}
41 */
42 @NotNull @Contract("_, _, _ -> new")
43 public static ImageInfo makeN32(int width, int height, @NotNull ColorAlphaType alphaType) {
44 return new ImageInfo(new ColorInfo(ColorType.N32, alphaType, null), width, height);
45 }
46
47 /**
48 * @return ImageInfo with {@link ColorType#N32}

Callers 1

allocN32PixelsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected