zng::checkerboard

Function cb_origin

source
pub fn cb_origin(child: impl UiNode, offset: impl IntoVar<Point>) -> impl UiNode
Expand description

P Sets the offset of the checkerboard pattern.

Relative values are resolved in the context of a cb_size.

This property sets the ORIGIN_VAR for all inner checkerboard widgets.