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.
-
property
edge
:
SELECTOR-TO-DRAW-OBJ;
Link to draw-obj which be rendered in four edges.
-
property
corner
:
SELECTOR-TO-DRAW-OBJ;
Link to draw-obj which be rendered in four corners.
-
property
body-justify
:
JUSTIFY-X, JUSTIFY-Y | center | random;
Default start, start
Align of body object.
-
property
edge-justify
:
start | end | center | random;
Default start
Align of edge object.
-
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