class ViewportProperties
Defined at line 1057 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_types.h
The properties of a Viewport as defined by the parent. This data, along with the set of attached
Transforms, will be used to compute the LayoutInfo for the View of the Viewport.
`ViewportProperties` must have `logical_size` set at least once. This is the initial size that
will drive the layout of the child.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_ui_composition::wire::ViewportProperties> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_ui_composition::wire::ViewportProperties> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_composition::wire::ViewportProperties>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void ViewportProperties ()
Defined at line 1059 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_types.h
void ViewportProperties (const ViewportProperties & other)
Defined at line 1060 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_types.h
ViewportProperties & operator= (const ViewportProperties & other)
Defined at line 1061 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_types.h
void ViewportProperties (ViewportProperties && other)
Defined at line 1062 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_types.h
::fuchsia_math::wire::SizeU & logical_size ()
The size of the Viewport in logical pixels. This maps directly to the logical_size field in
LayoutInfo. The valid logical_size must have positive X and Y components.
bool has_logical_size ()
::fuchsia_math::wire::Inset & inset ()
The offsets between the edges and the visible rectangle of the Viewport. This maps directly
to the `inset` field in LayoutInfo. The valid inset must have all components greater than or
equal to 0.
bool has_inset ()
ViewportProperties & operator= (ViewportProperties && other)
Defined at line 1063 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_types.h
void ~ViewportProperties ()
Defined at line 1065 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder