2017-11-17 08:46:59 -08:00
|
|
|
class Example.Rectangle (Efl.Object, Example.Shape, Example.Colored) {
|
2017-11-17 07:37:35 -08:00
|
|
|
[[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;
|
|
|
|
}
|
|
|
|
}
|