Uses of Class
playn.core.Scale
-
Uses of Scale in playn.core
Fields in playn.core declared as ScaleModifier and TypeFieldDescriptionstatic final ScaleScale.ONEAn unscaled scale factor singleton.final ScaleImageImpl.Data.scalefinal ScaleScale.ScaledResource.scaleThe scale factor for this resource.final ScaleTexture.scaleThe scale factor used by this texture.Methods in playn.core that return ScaleModifier and TypeMethodDescriptionGraphics.scale()Returns the display scale factor.abstract ScaleImage.scale()Returns the scale of resolution independent pixels to actual pixels for this image.ImageImpl.scale()Methods in playn.core with parameters of type ScaleModifier and TypeMethodDescriptionabstract CanvasGraphics.createCanvas(Scale scale, int pixelWidth, int pixelHeight) Creates aCanvasat the specified scale and with the specified (pixel) width and height.Net.Response.payloadImage(Scale scale) Returns the response payload as anImage.Constructors in playn.core with parameters of type ScaleModifierConstructorDescriptionScaledResource(Scale scale, String path) Texture(Graphics gfx, int id, Texture.Config config, int pixWidth, int pixHeight, Scale scale, float dispWidth, float dispHeight)