Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.
CanvasItem primitive drawer for brush-shape buttons. Fixes (missing-glyph tofu in HTML5/Web sandbox).
Source: addons/grid_placement/ui/terrain/brush_shape_icon_drawer.gd
Syntax
class BrushShapeIconDrawer extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
draw_single | Method | |
r | Property | |
draw_line | Method | |
pad | Property | |
a | Property | |
b | Property | |
w | Property | |
draw_rect_fill | Method | |
pad | Property | |
inner | Property | |
s | Property | |
mx | Property | |
my | Property | |
draw_rect_outline | Method | |
pad | Property | |
inner | Property | |
w | Property | |
draw_flood | Method | |
pad | Property | |
inner | Property | |
cell | Property | |
r | Property | |
c | Property | |
draw_shape | Method |
Source
addons/grid_placement/ui/terrain/brush_shape_icon_drawer.gd
Plugin docs root:gdscript/plugins/grid_placement_dev/docs