public static Polygon MakePolygon(LPixmap image) { if (image == null) { throw new RuntimeException("Image is null !"); } return MakePolygon(image.GetPixels(), image.GetWidth(), image.GetHeight()); }
public static LTexture.Mask CreateMask(LPixmap image) { if (image == null) { throw new RuntimeException("Image is null !"); } return CreateMask(image.GetPixels(), image.GetWidth(), image.GetHeight()); }
public static Polygon MakePolygon(LPixmap image) { if (image == null) { throw new RuntimeException("Image is null !"); } return(MakePolygon(image.GetPixels(), image.GetWidth(), image.GetHeight())); }
public static LTexture.Mask CreateMask(LPixmap image) { if (image == null) { throw new RuntimeException("Image is null !"); } return(CreateMask(image.GetPixels(), image.GetWidth(), image.GetHeight())); }