Package-level declarations
Types
Link copied to clipboard
class Font @JvmOverloads constructor(val resourcePath: String, val letterSpacing: Float = 0.0f, val lineSpacing: Float = 1.2f, val family: FontFamily? = null, val italic: Boolean = resourcePath.contains("italic", ignoreCase = true), val weight: Font.Weight = Weight.entries.getByName(resourcePath.findLastAnyOf(Weight.entries.names(), ignoreCase = true)?.second) ?: Weight.Regular) : Resource
A font used by the rendering implementation. As with other PolyUI resources, the actual loading, management, etc. of the font is NOT managed in this class in any way. This class just contains metadata for usage with PolyUI.
Link copied to clipboard
Represents a font family, which consists of multiple font styles.
Link copied to clipboard
Class that represents a framebuffer in PolyUI.
Link copied to clipboard
class PolyImage @JvmOverloads constructor(val resourcePath: String, val type: PolyImage.Type = from(resourcePath)) : Resource
Image representation in PolyUI. The image is lazily-loaded from the resourcePath.