このアプレットやスクリプトで全ての
説明
注意事項
例
例: レンダリング モードの使用 | |
{import * from CURL.GUI.SHAPES} {CommandButton label = "Press me to display the example!", {on Action do def view = {View visibility = "normal", {VBox margin = 10pt, spacing = 24pt, {RadioFrame {VBox {RadioButton radio-value = RenderingMode.default}, {RadioButton radio-value = RenderingMode.normal}, {RadioButton radio-value = RenderingMode.high-quality} }, value = {get-rendering-mode}, {on ValueFinished at rf do {view.set-rendering-mode rf.value asa RenderingMode} } }, {Canvas width = 6cm, height = 3cm, border-width = 1px, {EllipseShape {GRect -3cm, 6cm, -1cm, 3cm}, color = "#990000", border-width = 4px, border-color = "#999999" }, {ArrowShape {Distance2d .25cm, .25cm}, {Distance2d 4.5cm, 2cm}, arrow-tail-style = ArrowStyle.solid-tail, arrow-head-style = ArrowStyle.solid, border-width = 1px, border-color = {FillPattern.from-rgb .1, .1, .4, opacity = .6}, arrow-head-width = 5mm, arrow-body-width = 1.5mm, arrow-tail-width = 5mm, arrow-tail-length = 5mm, color = {FillPattern.from-rgb .8, .8, .8, opacity = .6}, draw-operation = DrawOperation.blend } } } } } } |
改訂