|
|
@@ -10,8 +10,8 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
|
|
|
|
|
|
== Effect
|
|
|
|
|
|
-Effects are used to graphically enhance your UI with transitions, movement, image manipulation & audio.+
|
|
|
-+
|
|
|
+Effects are used to graphically enhance your UI with transitions, movement, image manipulation & audio.
|
|
|
+
|
|
|
|
|
|
|
|
|
=== Creating an Effect
|
|
|
@@ -47,15 +47,15 @@ someButton.addEffect(effect);
|
|
|
|
|
|
----
|
|
|
|
|
|
-At this point, the button will use the following effect anytime the user mouseovers the button, as well as manage any setting required to execute the effect properly.+
|
|
|
+At this point, the button will use the following effect anytime the user mouseovers the button, as well as manage any setting required to execute the effect properly.
|
|
|
|
|
|
|
|
|
[NOTE]
|
|
|
====
|
|
|
-Some effects require a blend image (to pulse to and from in the above case)+
|
|
|
-Some require a blend color+
|
|
|
-Others require a direction+
|
|
|
-+
|
|
|
+Some effects require a blend image (to pulse to and from in the above case) +
|
|
|
+Some require a blend color +
|
|
|
+Others require a direction
|
|
|
+
|
|
|
See below for details
|
|
|
====
|
|
|
|
|
|
@@ -87,6 +87,7 @@ effect.setAudioVolume(float volume);
|
|
|
----
|
|
|
|
|
|
|
|
|
+
|
|
|
=== Other Methods Specific to Effect
|
|
|
|
|
|
[source,java]
|