次のコードがブロック状のグラデーションになるのはなぜですか? つまり、グラデーションは滑らかではなく、それを構成するいくつかの長方形を見ることができます。
これを修正する方法はありますか?
ところで、私はこれを Vista で実行していますが、Mac でもこれを経験しました。
var stage:Stage = Stage {
title: "Louis' Photo Wall"
width: 900
height: 600
scene: Scene {
content : Rectangle {
width: bind stage.scene.width
height: bind stage.scene.height
fill:LinearGradient {
startX : 0.0
startY : 0.0
endX : 0.0
endY : 1.0
stops: [
Stop {
color : Color {
red:0.0
blue:0.0
green:0.0
}
offset: 0.0
},
Stop {
color : Color {
red:0.8
blue:0.8
green:0.8
}
offset: 1.0
},
]
}
}//OuterRectangle
}
}