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

Method makeN32Premul

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

@return ImageInfo with ColorType#N32 and ColorAlphaType#PREMUL

(int width, int height)

Source from the content-addressed store, hash-verified

66 * @return ImageInfo with {@link ColorType#N32} and {@link ColorAlphaType#PREMUL}
67 */
68 @NotNull @Contract("_, _ -> new")
69 public static ImageInfo makeN32Premul(int width, int height) {
70 return new ImageInfo(new ColorInfo(ColorType.N32, ColorAlphaType.PREMUL, null), width, height);
71 }
72
73 /**
74 * @return ImageInfo with {@link ColorType#N32} and {@link ColorAlphaType#PREMUL}

Callers 1

executeMethod · 0.95

Calls

no outgoing calls

Tested by 1

executeMethod · 0.76