Square Fence¶

Advanced container, has three type of objects: edges, corners and body (in the middle). Great for city walls, castles, greek-style columns, prisons or fence for cottage house.
Properties¶
-
property
display
:
square-fence;
Required YES
-
property
body
:
SELECTOR-TO-DRAW-OBJ;
Link to draw-obj which be rendered in the center.
The body (blue)¶
-
property
edge
:
SELECTOR-TO-DRAW-OBJ;
Link to draw-obj which be rendered in four edges.
Edges (blue)¶
-
property
corner
:
SELECTOR-TO-DRAW-OBJ;
Link to draw-obj which be rendered in four corners.
Corners (blue)¶
-
property
body-justify
:
JUSTIFY-X, JUSTIFY-Y | center | random;
Default start, start
Align of body object.
justify: start, start¶
justify: end, end¶
justify: center¶
justify: random¶
justify: start, center¶
justify: end, center¶
-
property
edge-justify
:
start | end | center | random;
Default start
Align of edge object.
justify: start¶
justify: end¶
justify: center¶
justify: random¶
-
property
edge-size
:
INTEGER;
Default 0
Depth (to the center of container) size of edge and corner.
Example¶
prison {
display: square-fence;
width: 500;
depth: 500;
body: building;
edge: fence;
corner: tower;
body-justify: center;
edge-size: 40;
}
You can try on https://pixelopolis.herokuapp.com/examples/Containers/Square-Fence