var shadow1 = Group{
content:[
Circle{
centerX: 30
centerY: 40
radius: 20
fill: Color.RED
opacity: 0.8
cursor: Cursor.HAND
},
Line {
startX: 20
startY: 30
endX: 40
endY: 50
stroke: Color.WHITE
strokeWidth: 2
}
]
effect: DropShadow{
offsetX: 5
offsetY: 5
color: Color.BLACK
}
};
内側の影
var shadow2 = Group{
content:[
Circle{
centerX: 50
centerY: 40
radius: 20
fill: Color.RED
opacity: 0.8
},
Line {
startX: 40
startY: 30
endX: 60
endY: 50
stroke: Color.WHITE
strokeWidth: 2
}
]
effect: InnerShadow{
offsetX: 5
offsetY: 5
color: Color.BLACK
}
};
内側&外側の影
var shadow3 = Group {
content:[
Circle{
centerX: 40
centerY: 40
radius: 20
fill: Color.RED
opacity: 0.8
effect: DropShadow {
offsetX: 5
offsetY: 5
color: Color.BLACK
}
},
Line {
startX: 30
startY: 30
endX: 50
endY: 50
stroke: Color.WHITE
strokeWidth: 2
}
]
effect: InnerShadow{
offsetX: 5
offsetY: 5
color: Color.BLACK
}
};
左右の外側の影
var shadow4 = Group{
content:[
Circle{
centerX: 30
centerY: 40
radius: 20
fill: Color.RED
opacity: 0.8
},
Line {
startX: 20
startY: 30
endX: 40
endY: 50
stroke: Color.WHITE
strokeWidth: 2
}
]
effect: Blend {
topInput: DropShadow {
offsetX: 4
offsetY: 4
radius: 6
color: Color.DARKBLUE
}
bottomInput: DropShadow {
offsetX: -4
offsetY: 4
radius: 6
color: Color.DARKMAGENTA
}
}
};
0 件のコメント:
コメントを投稿