Object <- Viewable <- Coupon <- ImageCoupon |
|
|
ApplyCoupon CalcContentBox Draw |
|
CanStretch Image MaxHeight MaxWidth |
| Field | Type | |
|---|---|---|
| Viewable: | superview: | Viewable |
| relativeOrigin: | Dot | |
| contentSize: | Dot | |
| viewFlags: | Flags | |
| labelStyle: | TextStyle | |
| color: | Unsigned | |
| altColor: | Unsigned | |
| shadow: | Shadow | |
| sound: | Playable | |
| Coupon: | couponObject: | Object |
| selector: | Unsigned | |
| amount: | Signed |
instance ImageCoupon tag; relativeOrigin: <0.0,0.0>; contentSize: <0.0,0.0>; viewFlags: 0x00000000; labelStyle: nilObject; color: 0; altColor: 0; shadow: nilObject; sound: nilObject; couponObject: nilObject; selector: 0; amount: 0; end instance;
Define Class ImageCoupon; inherits from Coupon; attribute MaxWidth: Micron, readOnly; attribute MaxHeight: Micron, readOnly; overrides ApplyCoupon, CalcContentBox, CanStretch, Draw, Image; end class;