class ViewportProperties

Defined at line 1113 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_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

void ViewportProperties (Storage_ storage)
void ViewportProperties ()

Defined at line 1118 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_types.h

void ViewportProperties (ViewportProperties && )

Defined at line 1119 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_types.h

void ViewportProperties (const ViewportProperties & other)
ViewportProperties & operator= (ViewportProperties && )

Defined at line 1120 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_types.h

ViewportProperties & operator= (const ViewportProperties & other)
bool operator== (const ViewportProperties & other)
bool operator!= (const ViewportProperties & other)
bool IsEmpty ()
const std::optional< ::fuchsia_math::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.

::std::optional< ::fuchsia_math::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.

ViewportProperties & logical_size (std::optional< ::fuchsia_math::SizeU> value)

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.

const std::optional< ::fuchsia_math::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.

::std::optional< ::fuchsia_math::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.

ViewportProperties & inset (std::optional< ::fuchsia_math::Inset> value)

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.

void ViewportProperties (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits