Uses of Class
playn.core.Scale
-
Uses of Scale in playn.core
Modifier and TypeFieldDescriptionstatic final Scale
Scale.ONE
An unscaled scale factor singleton.final Scale
ImageImpl.Data.scale
final Scale
Scale.ScaledResource.scale
The scale factor for this resource.final Scale
Texture.scale
The scale factor used by this texture.Modifier and TypeMethodDescriptionGraphics.scale()
Returns the display scale factor.abstract Scale
Image.scale()
Returns the scale of resolution independent pixels to actual pixels for this image.ImageImpl.scale()
Modifier and TypeMethodDescriptionabstract Canvas
Graphics.createCanvas
(Scale scale, int pixelWidth, int pixelHeight) Creates aCanvas
at the specified scale and with the specified (pixel) width and height.Net.Response.payloadImage
(Scale scale) Returns the response payload as anImage
.ModifierConstructorDescriptionScaledResource
(Scale scale, String path) Texture
(Graphics gfx, int id, Texture.Config config, int pixWidth, int pixHeight, Scale scale, float dispWidth, float dispHeight)