[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

ImageCoupon

inherits from Coupon

Object <- Viewable <- Coupon <- ImageCoupon



Operations

Get list of all operations

ApplyCoupon
CalcContentBox
Draw


Attributes

Get list of all attributes

CanStretch
Image
MaxHeight
MaxWidth


Fields

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 template

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;

Class definition

Define Class ImageCoupon;
    inherits from Coupon;
    
    attribute MaxWidth: Micron, readOnly;
    attribute MaxHeight: Micron, readOnly;

    overrides ApplyCoupon, CalcContentBox, CanStretch, Draw, Image;
end class;