class SetShapeCmd
Defined at line 946 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.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 Methods
void SetShapeCmd (Storage_ storage)
void SetShapeCmd (uint32_t node_id, uint32_t shape_id)
void SetShapeCmd ()
Default constructs a |SetShapeCmd| only if all of its members are default constructible.
Defined at line 956 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
void SetShapeCmd (SetShapeCmd && )
Defined at line 959 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
void SetShapeCmd (const SetShapeCmd & other)
SetShapeCmd & operator= (SetShapeCmd && )
Defined at line 960 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
SetShapeCmd & operator= (const SetShapeCmd & other)
bool operator== (const SetShapeCmd & other)
bool operator!= (const SetShapeCmd & other)
uint32_t node_id ()
uint32_t & node_id ()
SetShapeCmd & node_id (uint32_t value)
Setter for node_id.
uint32_t shape_id ()
uint32_t & shape_id ()
SetShapeCmd & shape_id (uint32_t value)
Setter for shape_id.
void SetShapeCmd (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits