AwesomeVisuals

AwesomeVisuals is an extension to the Awesome core framework that adds animation effects and provides resources to create complicated user interfaces.

 

Objects

Bounds Metrics indicating the bounds that an element takes up.

Controls

Dialog Turns any element into a dialog displayed over the entire web page, requiring user focus.

Extensions

All elements are given new functions given below.

FadeIn(Number speed, Number frames, EventHandler onFinish)   Fades the element into view. In depth
FadeOut(Number speed, Number frames, EventHandler onFinish)   Fades the element out of view. In depth
FadeTo(Number opacity, Number speed, Number frames, EventHandler onFinish)   Fades the element to the specified opacity. In depth
Fold(Direction direction, Number speed, Number frames, EventHandler onFinish)   Shrinks the element to 0 width and height. In depth
GetBounds() Bounds Returns a bounds metric. In depth
Slide(Number x, Number y, Number speed, Number frames, EventHandler onFinish)   Slides the element to the specified point. In depth
Unfold(Direction direction, Number speed, Number frames, EventHandler onFinish)   Expands the element to full size. In depth

Static Functions

TextHeight(String text, String fontFamily, Number fontSize) Number Returns the height of the text given the font family and font size.
TextWidth(String text, String fontFamily, Number fontSize) Number Returns the width of the text given the font family and font size.

Last edited Jun 12, 2011 at 7:30 PM by dahrkdaiz, version 8

Comments

No comments yet.