Aller au contenu

Message HrzProtocol.EditableShapeLayer

Defined in hrz/protocol/layer/editable_shape_layer.proto.

Fields

geometry: HrzProtocol.EditableShapeGeometry
stroke_color: HrzProtocol.Color

Colour of the lines (polyline, or polygon outlines).

fill_color: HrzProtocol.Color

Colour of the polygon interior.

stroke_width: float

Width of the lines or radius of the circles, in logical pixels.

selected_stroke_color: HrzProtocol.Color

Colour of the lines, when the shape is selected.

selected_fill_color: HrzProtocol.Color

Color of the polygon interior, when the shape is selected.

selected_stroke_width: float

Width of the lines or radius of the circles, in logical pixels, when the shape is selected.

control_point_size: float

Size of the control points on screen, in logical pixels.

control_point_color: HrzProtocol.Color

Colour of the unselected control points at the vertices of the shape. Alpha is ignored.

midpoint_control_point_color: HrzProtocol.Color

Colour of the control points at the midpoint of each segment. Alpha is ignored.

selected_control_point_color: HrzProtocol.Color

Colour of the control points when selected. Alpha is ignored.

show_midpoint_control_points: bool

Show control points at the midpoint of each segment, that can be used to insert new points.

always_show_control_points: bool

Set to true to show control points even when deselected.

z_index: uint32

Shapes with a high z-index will be drawn over shapes with a lower z-index.

scene_views: HrzProtocol.SceneViewBitset

Select what views the shape will be visible in.

visible: bool
model_update_frequency: HrzProtocol.EditableShapeModelUpdateFrequency