examples/tutorial/c/eo-multiinherit/src/example_rectangle.eo

29 lines
570 B
Plaintext

class Example.Rectangle (Efl.Object, Example.Shape, Example.Colored) {
[[A rectangle shape object]]
methods {
@property width {
[[The width of this rectangle]]
set {
}
get {
}
values {
width: int; [[Rectangle width]]
}
}
@property height {
[[The height of this rectangle]]
set {
}
get {
}
values {
height: int; [[Rectangle height]]
}
}
}
implements {
Example.Shape.area;
}
}