Forked from: lenonsun's 線の幅・色を変える diff:4 forked from: 線の幅・色を変える シアン、マゼンタ、イエローの値を覚えていたので すぐにわかりました。 kaml125 forked:0favorite:0lines:23license : MIT License modified : 2011-10-10 14:13:49 Embed Tweet // forked from lenonsun's 線の幅・色を変える // 線の幅・色を変える package { import frocessing.display.F5MovieClip2D; /** * Frocessingを使った線の描画属性設定 * @author shmdmoto */ public class GraphicExample extends F5MovieClip2D { public function draw() : void { // ここに描画命令を記述します. // 線幅の変更 line(100,100,300,100); strokeWeight(2); line(100,150,300,150); strokeWeight(3); line(100,200,300,200); // 線の色の変更 stroke(0,255,255); line(100,250,300,250); stroke(255, 0, 255); line(100,300,300,300); stroke(255, 255, 0); line(100,350,300,350); // 元の設定に戻す strokeWeight(1); stroke(0,0,0); } } } Code Fullscreen Preview Fullscreen shohoku_col20111010