class ViewProperties
Defined at line 9565 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
Represents the properties for a View.
Public Methods
void ViewProperties (::fuchsia_ui_gfx::BoundingBox bounding_box, ::fuchsia_ui_gfx::Vec3 inset_from_min, ::fuchsia_ui_gfx::Vec3 inset_from_max, bool focus_change, bool downward_input)
void ViewProperties ()
Default constructs a |ViewProperties| only if all of its members are default constructible.
Defined at line 9575 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
void ViewProperties (ViewProperties && )
Defined at line 9578 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
void ViewProperties (Storage_ storage)
void ViewProperties (const ViewProperties & other)
ViewProperties & operator= (const ViewProperties & other)
bool operator== (const ViewProperties & other)
bool operator!= (const ViewProperties & other)
const ::fuchsia_ui_gfx::BoundingBox & bounding_box ()
The View's bounding box extents can be defined as:
{ bounding_box.min, bounding_box.max }
Content contained within the View is clipped to this bounding box.
::fuchsia_ui_gfx::BoundingBox & bounding_box ()
The View's bounding box extents can be defined as:
{ bounding_box.min, bounding_box.max }
Content contained within the View is clipped to this bounding box.
ViewProperties & bounding_box (::fuchsia_ui_gfx::BoundingBox value)
The View's bounding box extents can be defined as:
{ bounding_box.min, bounding_box.max }
Content contained within the View is clipped to this bounding box.
const ::fuchsia_ui_gfx::Vec3 & inset_from_min ()
`insets_from_min` and `insets_from_max` specify the distances between the
view's bounding box and that of its parent.
These properties are not strictly enforced by Scenic, but only used
as hints for clients and other components that receives ViewProperties:
View clients can assume that anything drawn outside of
{ bounding_box.min + inset_from_min, bounding_box.max - inset_from_max }
may be obscured by an ancestor view. The reason for obscuring, and the rules
surrounding it, is specific to each product.
::fuchsia_ui_gfx::Vec3 & inset_from_min ()
`insets_from_min` and `insets_from_max` specify the distances between the
view's bounding box and that of its parent.
These properties are not strictly enforced by Scenic, but only used
as hints for clients and other components that receives ViewProperties:
View clients can assume that anything drawn outside of
{ bounding_box.min + inset_from_min, bounding_box.max - inset_from_max }
may be obscured by an ancestor view. The reason for obscuring, and the rules
surrounding it, is specific to each product.
ViewProperties & inset_from_min (::fuchsia_ui_gfx::Vec3 value)
`insets_from_min` and `insets_from_max` specify the distances between the
view's bounding box and that of its parent.
These properties are not strictly enforced by Scenic, but only used
as hints for clients and other components that receives ViewProperties:
View clients can assume that anything drawn outside of
{ bounding_box.min + inset_from_min, bounding_box.max - inset_from_max }
may be obscured by an ancestor view. The reason for obscuring, and the rules
surrounding it, is specific to each product.
const ::fuchsia_ui_gfx::Vec3 & inset_from_max ()
::fuchsia_ui_gfx::Vec3 & inset_from_max ()
ViewProperties & inset_from_max (::fuchsia_ui_gfx::Vec3 value)
Setter for inset_from_max.
bool focus_change ()
Whether the View can receive a focus event; default is true. When
false, and this View is eligible to receive a focus event, no
focus/unfocus event is actually sent to any View.
bool & focus_change ()
Whether the View can receive a focus event; default is true. When
false, and this View is eligible to receive a focus event, no
focus/unfocus event is actually sent to any View.
ViewProperties & focus_change (bool value)
Whether the View can receive a focus event; default is true. When
false, and this View is eligible to receive a focus event, no
focus/unfocus event is actually sent to any View.
bool downward_input ()
Whether the View allows geometrically underlying Views to receive input;
default is true. When false, Scenic does not send input events to
underlying Views.
bool & downward_input ()
Whether the View allows geometrically underlying Views to receive input;
default is true. When false, Scenic does not send input events to
underlying Views.
ViewProperties & downward_input (bool value)
Whether the View allows geometrically underlying Views to receive input;
default is true. When false, Scenic does not send input events to
underlying Views.
void ViewProperties (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
ViewProperties & operator= (ViewProperties && )
Defined at line 9579 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
Friends
class MemberVisitor
class NaturalStructCodingTraits