Class ImageProperties
-
- All Implemented Interfaces:
-
kotlin.Cloneable
public class ImageProperties extends BlockProperties
-
-
Field Summary
Fields Modifier and Type Field Description private final Colors.Palettepaletteprivate final Colors.PalettesvgPaletteprivate final PolyColoroutlineColorprivate final Animation.TypepressedAnimationprivate final Animation.TypehoverAnimationprivate final LongpressedAnimationDurationprivate final LonghoverAnimationDurationprivate final FloatArraycornerRadiiprivate final FloatoutlineThicknessprivate transient Function1<Properties, Colors.Palette>paletteGetprivate transient Colorscolorsprivate transient FontFamilyfontsprivate final Vec2<Unit>sizeprivate final transient HashMap<Event, Function2<Component, Event, Boolean>>eventHandlersprivate final Booleaninitialized
-
Constructor Summary
Constructors Constructor Description ImageProperties(Boolean withStates)
-
Method Summary
Modifier and Type Method Description Colors.PalettegetPalette()Colors.PalettegetSvgPalette()-
Methods inherited from class org.polyfrost.polyui.property.impl.BlockProperties
getCornerRadii, getHoverAnimation, getHoverAnimationDuration, getOutlineColor, getOutlineThickness, getPaletteGet, getPressedAnimation, getPressedAnimationDuration, setPaletteGet -
Methods inherited from class org.polyfrost.polyui.property.Properties
addEventHandler, getColors, getEventHandlers, getFonts, getInitialized, getSize, init, setColors, setFonts -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ImageProperties
ImageProperties(Boolean withStates)
-
-
Method Detail
-
getPalette
Colors.Palette getPalette()
-
getSvgPalette
Colors.Palette getSvgPalette()
-
-
-
-