|
SIV3D_NODISCARD_CXX20 | RoundRect ()=default |
|
constexpr SIV3D_NODISCARD_CXX20 | RoundRect (value_type _x, value_type _y, value_type _w, value_type _h, value_type _r) noexcept |
|
template<class X , class Y , class W , class H , class R , std::enable_if_t< std::conjunction_v< std::is_arithmetic< X >, std::is_arithmetic< Y >, std::is_arithmetic< W >, std::is_arithmetic< H >, std::is_arithmetic< R >>> * = nullptr> |
constexpr SIV3D_NODISCARD_CXX20 | RoundRect (X _x, Y _y, W _w, H _h, R _r) noexcept |
|
constexpr SIV3D_NODISCARD_CXX20 | RoundRect (position_type pos, value_type _w, value_type _h, value_type _r) noexcept |
|
template<class W , class H , class R , std::enable_if_t< std::conjunction_v< std::is_arithmetic< W >, std::is_arithmetic< H >, std::is_arithmetic< R >>> * = nullptr> |
constexpr SIV3D_NODISCARD_CXX20 | RoundRect (position_type pos, W _w, H _h, R _r) noexcept |
|
constexpr SIV3D_NODISCARD_CXX20 | RoundRect (value_type _x, value_type _y, size_type size, value_type _r) noexcept |
|
template<class X , class Y , class R , std::enable_if_t< std::conjunction_v< std::is_arithmetic< X >, std::is_arithmetic< Y >, std::is_arithmetic< R >>> * = nullptr> |
constexpr SIV3D_NODISCARD_CXX20 | RoundRect (X _x, Y _y, size_type size, R _r) noexcept |
|
constexpr SIV3D_NODISCARD_CXX20 | RoundRect (position_type pos, value_type size, value_type _r) noexcept |
|
template<class S , class R , std::enable_if_t< std::conjunction_v< std::is_arithmetic< S >, std::is_arithmetic< R >>> * = nullptr> |
constexpr SIV3D_NODISCARD_CXX20 | RoundRect (position_type pos, S size, R _r) noexcept |
|
constexpr SIV3D_NODISCARD_CXX20 | RoundRect (position_type pos, size_type size, value_type _r) noexcept |
|
constexpr SIV3D_NODISCARD_CXX20 | RoundRect (Arg::center_< position_type > _center, value_type _w, value_type _h, value_type _r) noexcept |
|
constexpr SIV3D_NODISCARD_CXX20 | RoundRect (Arg::center_< position_type > _center, size_type size, value_type _r) noexcept |
|
constexpr SIV3D_NODISCARD_CXX20 | RoundRect (const RectF &_rect, value_type _r) noexcept |
|
constexpr RoundRect & | set (value_type _x, value_type _y, value_type _w, value_type _h, value_type _r) noexcept |
|
constexpr RoundRect & | set (const position_type &pos, value_type _w, value_type _h, value_type _r) noexcept |
|
constexpr RoundRect & | set (value_type _x, value_type _y, const size_type &size, value_type _r) noexcept |
|
constexpr RoundRect & | set (const position_type &pos, const size_type &size, value_type _r) noexcept |
|
constexpr RoundRect & | set (const RectF &_rect, value_type _r) noexcept |
|
constexpr RoundRect & | set (const RoundRect &roundRect) noexcept |
|
constexpr RoundRect & | setPos (value_type _x, value_type _y) noexcept |
|
constexpr RoundRect & | setPos (position_type _pos) noexcept |
|
constexpr RoundRect & | setCenter (value_type _x, value_type _y) noexcept |
|
constexpr RoundRect & | setCenter (position_type _center) noexcept |
|
constexpr RoundRect & | setSize (value_type _w, value_type _h) noexcept |
|
constexpr RoundRect & | setSize (size_type _size) noexcept |
|
constexpr RoundRect | movedBy (value_type _x, value_type _y) const noexcept |
|
constexpr RoundRect | movedBy (position_type v) const noexcept |
|
constexpr RoundRect & | moveBy (value_type _x, value_type _y) noexcept |
|
constexpr RoundRect & | moveBy (position_type v) noexcept |
|
constexpr RoundRect | stretched (value_type size) const noexcept |
|
constexpr RoundRect | stretched (value_type _x, value_type _y) const noexcept |
|
constexpr RoundRect | stretched (size_type xy) const noexcept |
|
constexpr RoundRect | stretched (value_type top, value_type right, value_type bottom, value_type left) const noexcept |
|
constexpr position_type | topCenter () const noexcept |
|
constexpr position_type | bottomCenter () const noexcept |
|
constexpr position_type | leftCenter () const noexcept |
|
constexpr position_type | rightCenter () const noexcept |
|
constexpr position_type | center () const noexcept |
|
constexpr value_type | area () const noexcept |
|
constexpr value_type | perimeter () const noexcept |
|
constexpr value_type | horizontalAspectRatio () const noexcept |
|
Array< Vec2 > | outerVertices (uint32 quality=24) const |
|
Polygon | asPolygon (uint32 quality=24) const |
|
constexpr RoundRect | lerp (const RoundRect &other, double f) const noexcept |
|
size_t | hash () const noexcept |
|
template<class Shape2DType > |
constexpr bool | intersects (const Shape2DType &other) const |
|
template<class Shape2DType > |
Optional< Array< Vec2 > > | intersectsAt (const Shape2DType &other) const |
|
template<class Shape2DType > |
bool | contains (const Shape2DType &other) const |
|
bool | leftClicked () const noexcept |
| 角丸長方形が現在のフレームで左クリックされ始めたかを返します。 More...
|
|
bool | leftPressed () const noexcept |
| 角丸長方形が左クリックされているかを返します。 More...
|
|
bool | leftReleased () const noexcept |
| 現在のフレームで角丸長方形への左クリックが離されたかを返します。 More...
|
|
bool | rightClicked () const noexcept |
| 角丸長方形が現在のフレームで右クリックされ始めたかを返します。 More...
|
|
bool | rightPressed () const noexcept |
| 角丸長方形が右クリックされているかを返します。 More...
|
|
bool | rightReleased () const noexcept |
| 現在のフレームで角丸長方形への右クリックが離されたかを返します。 More...
|
|
bool | mouseOver () const noexcept |
| 角丸長方形上にマウスカーソルがあるかを返します。 More...
|
|
const RoundRect & | paint (Image &dst, const Color &color) const |
|
const RoundRect & | overwrite (Image &dst, const Color &color, Antialiased antialiased=Antialiased::Yes) const |
|
const RoundRect & | paintFrame (Image &dst, int32 innerThickness, int32 outerThickness, const Color &color) const |
|
const RoundRect & | overwriteFrame (Image &dst, int32 innerThickness, int32 outerThickness, const Color &color, Antialiased antialiased=Antialiased::Yes) const |
|
const RoundRect & | draw (const ColorF &color=Palette::White) const |
|
const RoundRect & | drawFrame (double thickness=1.0, const ColorF &color=Palette::White) const |
|
const RoundRect & | drawFrame (double innerThickness, double outerThickness, const ColorF &color=Palette::White) const |
|
const RoundRect & | drawShadow (const Vec2 &offset, double blurRadius, double spread=0.0, const ColorF &color=ColorF{ 0.0, 0.5 }) const |
|
TexturedRoundRect | operator() (const Texture &texture) const |
|
TexturedRoundRect | operator() (const TextureRegion &textureRegion) const |
|