LavaUI docs GitHub

struct MenuIcon

Swift

Constructors

init(size: Float = 18, path: String? = nil)

Creates an icon of size points, loaded from path if one is given.

Sources/LavaMenu/Menu.swift:56

Properties

var path: String?

File the LavaUI strip can load when it was not given pixels.

Sources/LavaMenu/Menu.swift:53

var size: Float

Suggested draw size, in points.

Sources/LavaMenu/Menu.swift:51