Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Maplets[Examples][GetColor] - 色の選択を求める maplet の表示
使い方
GetColor(opts)
パラメータ
opts - option=value の形の等式; ここで option は default または title のいずれか; maplet のためのオプション指定
説明
GetColor() コマンドは、ユーザに色の選択を促す、カラーダイアログを表示します。RGBの COLOR データ構造が、値として返されます。default の色が設定されておらず、かつユーザが Cancel をクリックすると、プログラムは異議を唱えます。
GetColor sample maplet worksheet に、Maplets[Elements] パッケージを用いてこのルーチンと同様の動作を行う maplet を書く方法について、記述されています。
opts 引数は、maplet のオプションを設定する、1つまたは複数の以下の等式を含みます。
default = anything
ユーザが色を選択しない場合に返される、デフォルトのオブジェクト。有効な色の定義である必要はありません。
title = string または symbol
maplet のタイトルの指定。デフォルトのタイトルは、Get Color です。
例
with(Maplets[Examples]): GetColor( 'title' = "Get Color" );
COLOR(RGB, 0, 153, 51)
参照
GetColor Sample Maplet, Maplets パッケージの概要, Maplets[Elements] パッケージの紹介, Maplets[Elements][ColorDialog], Maplets[Examples] パッケージの紹介
Download Help Document