$(U Shape) is a drawable class that allows to define and display a custom convex shape on a render target.
It's only an abstract base, it needs to be specialized for concrete types of shapes (circle, rectangle, convex polygon, star, ...).
In addition to the attributes provided by the specialized shape classes, a shape always has the following attributes:
$(PARA Each feature is optional, and can be disabled easily:)
$(PARA You can write your own derived shape class, there are only two abstract functions to override:)
Base class for textured shapes with outline.
$(RECTANGLESHAPE_LINK), $(CIRCLESHAPE_LINK), $(CONVEXSHAPE_LINK), $(TRANSFORMABLE_LINK)
See Source File
$(U Shape) is a drawable class that allows to define and display a custom convex shape on a render target.
It's only an abstract base, it needs to be specialized for concrete types of shapes (circle, rectangle, convex polygon, star, ...).
In addition to the attributes provided by the specialized shape classes, a shape always has the following attributes:
$(PARA Each feature is optional, and can be disabled easily:)
$(PARA You can write your own derived shape class, there are only two abstract functions to override:)