29 return static_cast<T*
>(
this);
33 return static_cast<T*
>(
this);
44 return static_cast<T*
>(
this);
49 return static_cast<T*
>(
this);
53 return static_cast<T*
>(
this);
67 return static_cast<T*
>(
this);
72 return static_cast<T*
>(
this);
83 return static_cast<T*
>(
this);
87 return static_cast<T*
>(
this);
92 return static_cast<T*
>(
this);
105 return static_cast<T*
>(
this);
120template <
typename _Derived,
template <
class>
typename... _PropertyMObjects>
122 public _PropertyMObjects<_Derived>... {
const property::Color & fill_color() const
property::Color fill_color_
填充颜色属性
T * set_fill_color(const property::Color::data_t &color)
T * translate(float_t x, float_t y=0, float_t z=0)
const property::Vec< float_t, 3 > & pos() const
T * set_pos(const property::Vec< float_t, 3 >::data_t &pos)
property::Vec< float_t, 3 > pos_
对象位置属性
property::Vec< float_t, 3 > rotation_
对象旋转属性
T * rotate(float_t angle)
T * set_rotation(const property::Vec< float_t, 3 >::data_t &rotation)
const property::Vec< float_t, 3 > & rotation() const
const property::Vec< float_t, 3 > & scale() const
T * set_scale(const property::Vec< float_t, 3 >::data_t &scale)
property::Vec< float_t, 3 > scale_
对象缩放属性
T * scale(float_t x, float_t y, float_t z)
T * set_stroke_color(const property::Color::data_t &color)
property::Color stroke_color_
线条颜色属性
T * set_stroke_color(float_t r, float_t g, float_t b, float_t a=1.0)
const property::Scalar::data_t & stroke_width() const
T * set_stroke_width(property::Scalar::data_t width)
const property::Color & stroke_color() const
property::Scalar stroke_width_
线条宽度属性
constexpr _Tp & z()
Get the item at index 2