DecorationWidget

constructor(decoration: Decorated? = null, offsetX: Int = 0, offsetY: Int = 0)

Parameters

decoration

Decorated, Nullable. The decoration to render, or null to not render anything. This is a non-final field that can be updated as needed with setDeco

offsetX

Integer X offset in pixels to render the decoration. This can be updated as needed with setDeco

offsetY

Integer Y offset in pixels to render the decoration. This can be updated as needed with setDeco