Class | Joyau::FillableShape |
In: |
Drawable.cpp
|
Parent: | Joyau::Shape |
This is almost the same class as Shape. The only difference is that you can toggle a filled state, checked when drawing the object.
Return the shape’s filled state.
/* Return the shape's filled state. */ VALUE FillablleShape_filled(VALUE self) { FillableShape &ref = getRef<FillableShape>(self); return ref.isFilled() ? Qtrue : Qfalse; }
Sets the filled state.
/* call-seq: setFilled(val) filled=(val) Sets the filled state. */ VALUE FillableShape_setFilled(VALUE self, VALUE val) { FillableShape &ref = getRef<FillableShape>(self); ref.setFilled(val == Qtrue); return val; }