*/
CompositeMethod composite(const Paint** target) const noexcept;
+ /**
+ * @brief Return the unique id value of the paint instance.
+ *
+ * This method can be called for checking the current concrete instance type.
+ *
+ * @return The type id of the Paint instance.
+ *
+ * @BETA_API
+ */
+ uint32_t identifier() const { return _id; }
+
_TVG_DECLARE_ACCESSOR();
_TVG_DECALRE_IDENTIFIER();
_TVG_DECLARE_PRIVATE(Paint);
*/
Fill* duplicate() const noexcept;
+ /**
+ * @brief Return the unique id value of the Fill instance.
+ *
+ * This method can be called for checking the current concrete instance type.
+ *
+ * @return The type id of the Fill instance.
+ *
+ * @BETA_API
+ */
+ uint32_t identifier() const { return _id; }
+
_TVG_DECALRE_IDENTIFIER();
_TVG_DECLARE_PRIVATE(Fill);
};
*/
static std::unique_ptr<LinearGradient> gen() noexcept;
+ /**
+ * @brief Return the unique id value of this class.
+ *
+ * This method can be referred for identifying the LinearGradient class type.
+ *
+ * @return The type id of the LinearGradient class.
+ *
+ * @BETA_API
+ */
+ static uint32_t identifier() noexcept;
+
_TVG_DECLARE_PRIVATE(LinearGradient);
};
*/
static std::unique_ptr<RadialGradient> gen() noexcept;
+ /**
+ * @brief Return the unique id value of this class.
+ *
+ * This method can be referred for identifying the RadialGradient class type.
+ *
+ * @return The type id of the RadialGradient class.
+ *
+ * @BETA_API
+ */
+ static uint32_t identifier() noexcept;
+
_TVG_DECLARE_PRIVATE(RadialGradient);
};
*/
static std::unique_ptr<Shape> gen() noexcept;
+ /**
+ * @brief Return the unique id value of this class.
+ *
+ * This method can be referred for identifying the Shape class type.
+ *
+ * @return The type id of the Shape class.
+ *
+ * @BETA_API
+ */
+ static uint32_t identifier() noexcept;
+
_TVG_DECLARE_PRIVATE(Shape);
};
*/
static std::unique_ptr<Picture> gen() noexcept;
+ /**
+ * @brief Return the unique id value of this class.
+ *
+ * This method can be referred for identifying the Picture class type.
+ *
+ * @return The type id of the Picture class.
+ *
+ * @BETA_API
+ */
+ static uint32_t identifier() noexcept;
+
_TVG_DECLARE_PRIVATE(Picture);
};
*/
static std::unique_ptr<Scene> gen() noexcept;
+ /**
+ * @brief Return the unique id value of this class.
+ *
+ * This method can be referred for identifying the Scene class type.
+ *
+ * @return The type id of the Scene class.
+ *
+ * @BETA_API
+ */
+ static uint32_t identifier() noexcept;
+
_TVG_DECLARE_PRIVATE(Scene);
};