Berbagai Contoh Efek pada Shape

June 1, 2010

Ini Adalah berbagai contoh efek pada JavaFX, di coba pada JavaFX 1.3

/*
* Berbagai contoh efek untuk shape
*
*/
package bab8_antarmuka;

import javafx.scene.effect.Blend;
import javafx.scene.effect.BlendMode;
import javafx.scene.effect.ColorAdjust;
import javafx.scene.effect.Flood;
import javafx.scene.paint.Color;
import javafx.scene.effect.Glow;
import javafx.scene.effect.Lighting;
import javafx.scene.effect.PerspectiveTransform;
import javafx.scene.effect.SepiaTone;
import javafx.scene.effect.Bloom;
import javafx.scene.effect.DropShadow;
import javafx.scene.effect.GaussianBlur;
import javafx.scene.effect.InnerShadow;
import javafx.scene.effect.MotionBlur;
import javafx.scene.effect.Reflection;
import javafx.scene.effect.Shadow;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.shape.Rectangle;
import javafx.scene.layout.HBox;
import javafx.geometry.Insets;
import javafx.scene.control.ScrollView;
import javafx.scene.layout.LayoutInfo;
import javafx.scene.Node;

/**
* @author bhangun
*/
var blend = Blend {
mode: BlendMode.ADD
opacity: 0.5
} Read the rest of this entry »

Advertisements