class SetShapeCmd
Defined at line 716 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/hlcpp/fuchsia/ui/gfx/cpp/fidl.h
Sets/clears a node's shape.
Constraints:
- `node_id` refs a `Node` with the has_shape characteristic.
- `shape_id` refs a `Shape`, or nothing.
- if this command causes the target to have both a `Shape` and a `Material`,
then these must be compatible with each other (see README.md regarding
"Shape/Material Compatibility").
Discussion:
In order to be painted, a node requires both a `Shape` and a `Material`.
Without a material, a node can still participate in hit-testing and clipping.
Without a shape, a node cannot do any of the above.
Public Members
uint32_t node_id
uint32_t shape_id
Public Methods
::std::unique_ptr<SetShapeCmd> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SetShapeCmd * value, size_t _offset)
zx_status_t Clone (SetShapeCmd * result)