class RectF
Defined at line 967 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
A floating point, rectangular, axis-aligned region in a 2D cartesian
space.
This type does not specify units. Protocols that use this type should
specify the characteristics of the vector space, including orientation and
units.
Public Methods
void RectF (Storage_ storage)
void RectF (float x, float y, float width, float height)
void RectF ()
Default constructs a |RectF| only if all of its members are default constructible.
Defined at line 978 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
void RectF (RectF && )
Defined at line 981 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
void RectF (const RectF & other)
RectF & operator= (RectF && )
Defined at line 982 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h
RectF & operator= (const RectF & other)
bool operator== (const RectF & other)
bool operator!= (const RectF & other)
float x ()
The location of the origin of the rectangle in the x-axis.
float & x ()
The location of the origin of the rectangle in the x-axis.
RectF & x (float value)
The location of the origin of the rectangle in the x-axis.
float y ()
The location of the origin of the rectangle in the y-axis.
float & y ()
The location of the origin of the rectangle in the y-axis.
RectF & y (float value)
The location of the origin of the rectangle in the y-axis.
float width ()
The distance along the x-axis.
If `width` is positive, the region includes x values starting at `x` and
increasing along the x-axis. If `width` is negative, the region includes
x values starting at `x` and decreasing along the x-axis.
float & width ()
The distance along the x-axis.
If `width` is positive, the region includes x values starting at `x` and
increasing along the x-axis. If `width` is negative, the region includes
x values starting at `x` and decreasing along the x-axis.
RectF & width (float value)
The distance along the x-axis.
If `width` is positive, the region includes x values starting at `x` and
increasing along the x-axis. If `width` is negative, the region includes
x values starting at `x` and decreasing along the x-axis.
float height ()
The distance along the y-axis.
If `height` is positive, the region includes y values starting at `y`
and increasing along the y-axis. If `height` is negative, the region
includes y values starting at `y` and decreasing along the y-axis.
float & height ()
The distance along the y-axis.
If `height` is positive, the region includes y values starting at `y`
and increasing along the y-axis. If `height` is negative, the region
includes y values starting at `y` and decreasing along the y-axis.
RectF & height (float value)
The distance along the y-axis.
If `height` is positive, the region includes y values starting at `y`
and increasing along the y-axis. If `height` is negative, the region
includes y values starting at `y` and decreasing along the y-axis.
void RectF (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits