Luna::OffsetRect

Used to specify a 2D rectangle region using offsets with its container rectangle.

template <typename _Ty>
struct Luna::OffsetRect

Parameters

  • _Ty

    The type that represents values of the rectangle.

Member objects

  • _Ty left

    The left offset of the rectangle from its container.

  • _Ty top

    The top offset of the rectangle from its container.

  • _Ty right

    The right offset of the rectangle from its container.

  • _Ty bottom

    The bottom offset of the rectangle from its container.

Member functions