...
Properties | DefaultValue | Notes |
|---|---|---|
start |
| may be a java.awt.Shape or any shape operation |
end |
| may be a java.awt.Shape or any shape operation |
morph | | float value in the range (0..1) |
...
| Code Block |
|---|
def rect = rect( x: 20, y: 50, width: 100, height: 100, arcWidth: 20, arcHeight: 20, asShape: true)
def star = star( x: 20, y: 50, ir: 50, or: 80, count: 5, asShape: true )
morph( start: rect, end: star, morph: 0.1, borderWidth: 3, borderColor: 'orange', fill: 'yellow' )
morph( start: rect, end: star, morph: 0.8, borderWidth: 3, borderColor: 'blue', fill: 'cyan' ){
transformations { translate(x: 140, y: 0) }
}
|
