| Package | frocessing.color |
| Class | public class ColorBlend |
ColorBlend クラスにはブレンドを行ういくつかのメソッドを提供しています.
オーソドックスなブレンドメソッドは以下のようなものです.
import frocessing.color.ColorBlend; var backcolor :uint = 0x66CC00; var forecolor :uint = 0x33FFCC; var blendcol :Object = ColorBlend.blend( ColorBlend.ADD, backcolor, forecolor ); trace( blendcol.value.toString(16), blendcol.alpha ); //[ 99ffcc 1 ]が出力されます
24bit Color、またはアルファチャンネルを含む 32bit Color のブレンドを行うメソッドは以下のようになります.
import frocessing.color.ColorBlend; var blendcololr :uint; //24bit Color (0xRRGGBB) blend blendcololr = ColorBlend.blend24( ColorBlend.ADD, 0x66CC00, 0x33FFCC ); trace( blendcololr.toString(16) ); //[ 99ffcc ]が出力されます //32bit Color (0xAARRGGBB) blend blendcololr = ColorBlend.blend32( ColorBlend.ADD, 0x3366CC00, 0x6633FFCC ); trace( blendcololr.toString(16) ); //[ 997aff51 ]が出力されます
各ブレンドメソッドを直接実行する場合は以下のようになります.
import frocessing.color.ColorBlend; var blendcololr :uint; //24bit Color (0xRRGGBB) blend blendcololr = ColorBlend.add( 0x66CC00, 0x33FFCC ); trace( blendcololr.toString(16) ); //[ 99ffcc ]が出力されます //32bit Color (0xAARRGGBB) blend blendcololr = ColorBlend.add32( 0x3366CC00, 0x6633FFCC ); trace( blendcololr.toString(16) ); //[ 997aff51 ]が出力されます
各ブレンドメソッドには、RGB値、アルファ値を個別に指定するメソッドもあります.
import frocessing.color.ColorBlend; var blendcololr :uint; blendcololr = ColorBlend.addRGB( 0x66, 0xCC, 0x00, 0x33, 0xFF, 0xCC ); trace( blendcololr.toString(16) ); //[ 99ffcc ]が出力されます //アルファチャンネル有り.アルファ値は 0~255で指定します blendcololr = ColorBlend.addRGBA( 0x66, 0xCC, 0x00, 0x33, 0xFF, 0xCC, 0x33, 0x66 ); trace( blendcololr.toString(16) ); //[ 997aff51 ]が出力されます
| Method | Defined by | ||
|---|---|---|---|
|
add(c1:uint, c2:uint):uint
[static]
24bit Color (0xRRGGBB) を 加算(ADD) でブレンドします.
| ColorBlend | ||
|
add32(c1:uint, c2:uint):uint
[static]
32bit Color (0xAARRGGBB) を 加算(ADD) でブレンドします.
| ColorBlend | ||
|
addRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uint
[static]
RGB値を指定して 加算(ADD) でブレンドします.
| ColorBlend | ||
|
addRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uint
[static]
RGBA値を指定して 加算(ADD) でブレンドします.
| ColorBlend | ||
|
blend(blendkind:String, c1:uint, c2:uint, a1:Number, a2:Number):Object
[static]
2つの色を指定されたブレンドモードでブレンドし、結果を Object で返します.
| ColorBlend | ||
|
blend24(blendkind:String, c1:uint, c2:uint):uint
[static]
2つの 24bit Color(0xRRGGBB) を指定されたブレンドモードでブレンドします.
| ColorBlend | ||
|
blend32(blendkind:String, c1:uint, c2:uint):uint
[static]
2つの 32bit Color(0xAARRGGBB) を指定されたブレンドモードでブレンドします.
| ColorBlend | ||
|
blendTo32(blendkind:String, c1:uint, c2:uint, a1:Number, a2:Number):uint
[static]
2つの色を指定されたブレンドモードでブレンドし、結果を 32bit Color (0xAARRGGBB) で返します.
| ColorBlend | ||
|
burn(c1:uint, c2:uint):uint
[static]
24bit Color (0xRRGGBB) を 焼き込み(BURN) でブレンドします.
| ColorBlend | ||
|
burn32(c1:uint, c2:uint):uint
[static]
32bit Color (0xAARRGGBB) を 焼き込み(BURN) でブレンドします.
| ColorBlend | ||
|
burnRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uint
[static]
RGB値を指定して 焼き込み(BURN) でブレンドします.
| ColorBlend | ||
|
burnRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uint
[static]
RGBA値を指定して 焼き込み(BURN) でブレンドします.
| ColorBlend | ||
|
dark(c1:uint, c2:uint):uint
[static]
24bit Color (0xRRGGBB) を 比較暗(DARKEN) でブレンドします.
| ColorBlend | ||
|
dark32(c1:uint, c2:uint):uint
[static]
32bit Color (0xAARRGGBB) を 比較暗(DARKEN) でブレンドします.
| ColorBlend | ||
|
darkRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uint
[static]
RGB値を指定して 比較暗(DARKEN) でブレンドします.
| ColorBlend | ||
|
darkRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uint
[static]
RGBA値を指定して 比較暗(DARKEN) でブレンドします.
| ColorBlend | ||
|
diff(c1:uint, c2:uint):uint
[static]
24bit Color (0xRRGGBB) を 差の絶対値(DIFFERENCE) でブレンドします.
| ColorBlend | ||
|
diff32(c1:uint, c2:uint):uint
[static]
32bit Color (0xAARRGGBB) を 差の絶対値(DIFFERENCE) でブレンドします.
| ColorBlend | ||
|
diffRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uint
[static]
RGB値を指定して 差の絶対値(DIFFERENCE) でブレンドします.
| ColorBlend | ||
|
diffRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uint
[static]
RGBA値を指定して 差の絶対値(DIFFERENCE) でブレンドします.
| ColorBlend | ||
|
dodge(c1:uint, c2:uint):uint
[static]
24bit Color (0xRRGGBB) を 覆い焼き(DODGE) でブレンドします.
| ColorBlend | ||
|
dodge32(c1:uint, c2:uint):uint
[static]
32bit Color (0xAARRGGBB) を 覆い焼き(DODGE) でブレンドします.
| ColorBlend | ||
|
dodgeRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uint
[static]
RGB値を指定して 覆い焼き(DODGE) でブレンドします.
| ColorBlend | ||
|
dodgeRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uint
[static]
RGBA値を指定して 覆い焼き(DODGE) でブレンドします.
| ColorBlend | ||
|
excl(c1:uint, c2:uint):uint
[static]
24bit Color (0xRRGGBB) を 除外(EXCLUSION) でブレンドします.
| ColorBlend | ||
|
excl32(c1:uint, c2:uint):uint
[static]
32bit Color (0xAARRGGBB) を 除外(EXCLUSION) でブレンドします.
| ColorBlend | ||
|
exclRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uint
[static]
RGB値を指定して 除外(EXCLUSION) でブレンドします.
| ColorBlend | ||
|
exclRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uint
[static]
RGBA値を指定して 除外(EXCLUSION) でブレンドします.
| ColorBlend | ||
|
hard(c1:uint, c2:uint):uint
[static]
24bit Color (0xRRGGBB) を ハードライト(HARDLIGHT) でブレンドします.
| ColorBlend | ||
|
hard32(c1:uint, c2:uint):uint
[static]
32bit Color (0xAARRGGBB) を ハードライト(HARDLIGHT) でブレンドします.
| ColorBlend | ||
|
hardRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uint
[static]
RGB値を指定して ハードライト(HARDLIGHT) でブレンドします.
| ColorBlend | ||
|
hardRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uint
[static]
RGBA値を指定して ハードライト(HARDLIGHT) でブレンドします.
| ColorBlend | ||
|
light(c1:uint, c2:uint):uint
[static]
24bit Color (0xRRGGBB) を 比較明(LIGHTEN) でブレンドします.
| ColorBlend | ||
|
light32(c1:uint, c2:uint):uint
[static]
32bit Color (0xAARRGGBB) を 比較明(LIGHTEN) でブレンドします.
| ColorBlend | ||
|
lightRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uint
[static]
RGB値を指定して 比較明(LIGHTEN) でブレンドします.
| ColorBlend | ||
|
lightRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uint
[static]
RGBA値を指定して 比較明(LIGHTEN) でブレンドします.
| ColorBlend | ||
|
multi(c1:uint, c2:uint):uint
[static]
24bit Color (0xRRGGBB) を 乗算(MULTIPLY) でブレンドします.
| ColorBlend | ||
|
multi32(c1:uint, c2:uint):uint
[static]
32bit Color (0xAARRGGBB) を 乗算(MULTIPLY) でブレンドします.
| ColorBlend | ||
|
multiRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uint
[static]
RGB値を指定して 乗算(MULTIPLY) でブレンドします.
| ColorBlend | ||
|
multiRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uint
[static]
RGBA値を指定して 乗算(MULTIPLY) でブレンドします.
| ColorBlend | ||
|
normal32(c1:uint, c2:uint):uint
[static]
32bit Color (0xAARRGGBB) を ブレンドします.
| ColorBlend | ||
|
normalRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uint
[static]
RGBA値をブレンドします.
| ColorBlend | ||
|
overlay(c1:uint, c2:uint):uint
[static]
24bit Color (0xRRGGBB) を オーバーレイ(OVERLAY) でブレンドします.
| ColorBlend | ||
|
overlay32(c1:uint, c2:uint):uint
[static]
32bit Color (0xAARRGGBB) を オーバーレイ(OVERLAY) でブレンドします.
| ColorBlend | ||
|
overlayRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uint
[static]
RGB値を指定して オーバーレイ(OVERLAY) でブレンドします.
| ColorBlend | ||
|
overlayRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uint
[static]
RGBA値を指定して オーバーレイ(OVERLAY) でブレンドします.
| ColorBlend | ||
|
screen(c1:uint, c2:uint):uint
[static]
24bit Color (0xRRGGBB) を スクリーン(SCREEN) でブレンドします.
| ColorBlend | ||
|
screen32(c1:uint, c2:uint):uint
[static]
32bit Color (0xAARRGGBB) を スクリーン(SCREEN) でブレンドします.
| ColorBlend | ||
|
screenRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uint
[static]
RGB値を指定して スクリーン(SCREEN) でブレンドします.
| ColorBlend | ||
|
screenRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uint
[static]
RGBA値を指定して スクリーン(SCREEN) でブレンドします.
| ColorBlend | ||
|
soft(c1:uint, c2:uint):uint
[static]
24bit Color (0xRRGGBB) を ソフトライト(SOFTLIGHT) でブレンドします.
| ColorBlend | ||
|
soft32(c1:uint, c2:uint):uint
[static]
32bit Color (0xAARRGGBB) を ソフトライト(SOFTLIGHT) でブレンドします.
| ColorBlend | ||
|
softRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uint
[static]
RGB値を指定して ソフトライト(SOFTLIGHT) でブレンドします.
| ColorBlend | ||
|
softRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uint
[static]
RGBA値を指定して ソフトライト(SOFTLIGHT) でブレンドします.
| ColorBlend | ||
|
sub(c1:uint, c2:uint):uint
[static]
24bit Color (0xRRGGBB) を 減算(SUBTRACT) でブレンドします.
| ColorBlend | ||
|
sub32(c1:uint, c2:uint):uint
[static]
32bit Color (0xAARRGGBB) を 減算(SUBTRACT) でブレンドします.
| ColorBlend | ||
|
subRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uint
[static]
RGB値を指定して 減算(SUBTRACT) でブレンドします.
| ColorBlend | ||
|
subRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uint
[static]
RGBA値を指定して 減算(SUBTRACT) でブレンドします.
| ColorBlend | ||
| Constant | Defined by | ||
|---|---|---|---|
| ADD : String = "add" [static]
| ColorBlend | ||
| BURN : String = "burn" [static]
| ColorBlend | ||
| DARKEN : String = "darken" [static]
| ColorBlend | ||
| DIFFERENCE : String = "difference" [static]
| ColorBlend | ||
| DODGE : String = "dodge" [static]
| ColorBlend | ||
| EXCLUSION : String = "exclusion" [static]
| ColorBlend | ||
| HARDLIGHT : String = "hardlight" [static]
| ColorBlend | ||
| LIGHTEN : String = "lighten" [static]
| ColorBlend | ||
| MULTIPLY : String = "multiply" [static]
| ColorBlend | ||
| NORMAL : String = "normal" [static]
| ColorBlend | ||
| OVERLAY : String = "overlay" [static]
| ColorBlend | ||
| SCREEN : String = "screen" [static]
| ColorBlend | ||
| SOFTLIGHT : String = "softlight" [static]
| ColorBlend | ||
| SUBTRACT : String = "subtract" [static]
| ColorBlend | ||
| add | () | method |
public static function add(c1:uint, c2:uint):uint24bit Color (0xRRGGBB) を 加算(ADD) でブレンドします.
Parametersc1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| add32 | () | method |
public static function add32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 加算(ADD) でブレンドします.
Parametersc1:uint — backcolor 0xAARRGGBB
|
|
c2:uint — forecolor 0xAARRGGBB
|
uint — 0xAARRGGBB
|
| addRGB | () | method |
public static function addRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uintRGB値を指定して 加算(ADD) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
uint — 0xRRGGBB
|
| addRGBA | () | method |
public static function addRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uintRGBA値を指定して 加算(ADD) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
|
a1:uint (default = 0xff) |
|
a2:uint (default = 0xff) |
uint — 0xAARRGGBB
|
| blend | () | method |
public static function blend(blendkind:String, c1:uint, c2:uint, a1:Number, a2:Number):Object2つの色を指定されたブレンドモードでブレンドし、結果を Object で返します.
ブレンドモードは以下のモードから指定します.
blendkind:String — blend mode
|
|
c1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
|
a1:Number — alpha of backcolor [0,1]
|
|
a2:Number — alpha of forecolor [0,1]
|
Object — { value:0xRRGGBB, alpha:Number }
|
| blend24 | () | method |
public static function blend24(blendkind:String, c1:uint, c2:uint):uint2つの 24bit Color(0xRRGGBB) を指定されたブレンドモードでブレンドします.
ブレンドモードは以下のモードから指定します.
blendkind:String — blend mode
|
|
c1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| blend32 | () | method |
public static function blend32(blendkind:String, c1:uint, c2:uint):uint2つの 32bit Color(0xAARRGGBB) を指定されたブレンドモードでブレンドします.
ブレンドモードは以下のモードから指定します.
blendkind:String — blend mode
|
|
c1:uint — backcolor 0xAARRGGBB
|
|
c2:uint — forecolor 0xAARRGGBB
|
uint — 0xAARRGGBB
|
| blendTo32 | () | method |
public static function blendTo32(blendkind:String, c1:uint, c2:uint, a1:Number, a2:Number):uint2つの色を指定されたブレンドモードでブレンドし、結果を 32bit Color (0xAARRGGBB) で返します.
ブレンドモードは以下のモードから指定します.
blendkind:String — blend mode
|
|
c1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
|
a1:Number — alpha of backcolor [0,1]
|
|
a2:Number — alpha of forecolor [0,1]
|
uint — 0xAARRGGBB
|
| burn | () | method |
public static function burn(c1:uint, c2:uint):uint24bit Color (0xRRGGBB) を 焼き込み(BURN) でブレンドします.
Parametersc1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| burn32 | () | method |
public static function burn32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 焼き込み(BURN) でブレンドします.
Parametersc1:uint — backcolor 0xAARRGGBB
|
|
c2:uint — forecolor 0xAARRGGBB
|
uint — 0xAARRGGBB
|
| burnRGB | () | method |
public static function burnRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uintRGB値を指定して 焼き込み(BURN) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
uint — 0xRRGGBB
|
| burnRGBA | () | method |
public static function burnRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uintRGBA値を指定して 焼き込み(BURN) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
|
a1:uint (default = 0xff) |
|
a2:uint (default = 0xff) |
uint — 0xAARRGGBB
|
| dark | () | method |
public static function dark(c1:uint, c2:uint):uint24bit Color (0xRRGGBB) を 比較暗(DARKEN) でブレンドします.
Parametersc1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| dark32 | () | method |
public static function dark32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 比較暗(DARKEN) でブレンドします.
Parametersc1:uint — backcolor 0xAARRGGBB
|
|
c2:uint — forecolor 0xAARRGGBB
|
uint — 0xAARRGGBB
|
| darkRGB | () | method |
public static function darkRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uintRGB値を指定して 比較暗(DARKEN) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
uint — 0xRRGGBB
|
| darkRGBA | () | method |
public static function darkRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uintRGBA値を指定して 比較暗(DARKEN) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
|
a1:uint (default = 0xff) |
|
a2:uint (default = 0xff) |
uint — 0xAARRGGBB
|
| diff | () | method |
public static function diff(c1:uint, c2:uint):uint24bit Color (0xRRGGBB) を 差の絶対値(DIFFERENCE) でブレンドします.
Parametersc1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| diff32 | () | method |
public static function diff32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 差の絶対値(DIFFERENCE) でブレンドします.
Parametersc1:uint — backcolor 0xAARRGGBB
|
|
c2:uint — forecolor 0xAARRGGBB
|
uint — 0xAARRGGBB
|
| diffRGB | () | method |
public static function diffRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uintRGB値を指定して 差の絶対値(DIFFERENCE) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
uint — 0xRRGGBB
|
| diffRGBA | () | method |
public static function diffRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uintRGBA値を指定して 差の絶対値(DIFFERENCE) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
|
a1:uint (default = 0xff) |
|
a2:uint (default = 0xff) |
uint — 0xAARRGGBB
|
| dodge | () | method |
public static function dodge(c1:uint, c2:uint):uint24bit Color (0xRRGGBB) を 覆い焼き(DODGE) でブレンドします.
Parametersc1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| dodge32 | () | method |
public static function dodge32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 覆い焼き(DODGE) でブレンドします.
Parametersc1:uint — backcolor 0xAARRGGBB
|
|
c2:uint — forecolor 0xAARRGGBB
|
uint — 0xAARRGGBB
|
| dodgeRGB | () | method |
public static function dodgeRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uintRGB値を指定して 覆い焼き(DODGE) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
uint — 0xRRGGBB
|
| dodgeRGBA | () | method |
public static function dodgeRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uintRGBA値を指定して 覆い焼き(DODGE) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
|
a1:uint (default = 0xff) |
|
a2:uint (default = 0xff) |
uint — 0xAARRGGBB
|
| excl | () | method |
public static function excl(c1:uint, c2:uint):uint24bit Color (0xRRGGBB) を 除外(EXCLUSION) でブレンドします.
Parametersc1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| excl32 | () | method |
public static function excl32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 除外(EXCLUSION) でブレンドします.
Parametersc1:uint — backcolor 0xAARRGGBB
|
|
c2:uint — forecolor 0xAARRGGBB
|
uint — 0xAARRGGBB
|
| exclRGB | () | method |
public static function exclRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uintRGB値を指定して 除外(EXCLUSION) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
uint — 0xRRGGBB
|
| exclRGBA | () | method |
public static function exclRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uintRGBA値を指定して 除外(EXCLUSION) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
|
a1:uint (default = 0xff) |
|
a2:uint (default = 0xff) |
uint — 0xAARRGGBB
|
| hard | () | method |
public static function hard(c1:uint, c2:uint):uint24bit Color (0xRRGGBB) を ハードライト(HARDLIGHT) でブレンドします.
Parametersc1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| hard32 | () | method |
public static function hard32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を ハードライト(HARDLIGHT) でブレンドします.
Parametersc1:uint — backcolor 0xAARRGGBB
|
|
c2:uint — forecolor 0xAARRGGBB
|
uint — 0xAARRGGBB
|
| hardRGB | () | method |
public static function hardRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uintRGB値を指定して ハードライト(HARDLIGHT) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
uint — 0xRRGGBB
|
| hardRGBA | () | method |
public static function hardRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uintRGBA値を指定して ハードライト(HARDLIGHT) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
|
a1:uint (default = 0xff) |
|
a2:uint (default = 0xff) |
uint — 0xAARRGGBB
|
| light | () | method |
public static function light(c1:uint, c2:uint):uint24bit Color (0xRRGGBB) を 比較明(LIGHTEN) でブレンドします.
Parametersc1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| light32 | () | method |
public static function light32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 比較明(LIGHTEN) でブレンドします.
Parametersc1:uint — backcolor 0xAARRGGBB
|
|
c2:uint — forecolor 0xAARRGGBB
|
uint — 0xAARRGGBB
|
| lightRGB | () | method |
public static function lightRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uintRGB値を指定して 比較明(LIGHTEN) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
uint — 0xRRGGBB
|
| lightRGBA | () | method |
public static function lightRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uintRGBA値を指定して 比較明(LIGHTEN) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
|
a1:uint (default = 0xff) |
|
a2:uint (default = 0xff) |
uint — 0xAARRGGBB
|
| multi | () | method |
public static function multi(c1:uint, c2:uint):uint24bit Color (0xRRGGBB) を 乗算(MULTIPLY) でブレンドします.
Parametersc1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| multi32 | () | method |
public static function multi32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 乗算(MULTIPLY) でブレンドします.
Parametersc1:uint — backcolor 0xAARRGGBB
|
|
c2:uint — forecolor 0xAARRGGBB
|
uint — 0xAARRGGBB
|
| multiRGB | () | method |
public static function multiRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uintRGB値を指定して 乗算(MULTIPLY) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
uint — 0xRRGGBB
|
| multiRGBA | () | method |
public static function multiRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uintRGBA値を指定して 乗算(MULTIPLY) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
|
a1:uint (default = 0xff) |
|
a2:uint (default = 0xff) |
uint — 0xAARRGGBB
|
| normal32 | () | method |
public static function normal32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を ブレンドします.
Parametersc1:uint — backcolor 0xAARRGGBB
|
|
c2:uint — forecolor 0xAARRGGBB
|
uint — 0xAARRGGBB
|
| normalRGBA | () | method |
public static function normalRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uintRGBA値をブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
|
a1:uint (default = 0xff) |
|
a2:uint (default = 0xff) |
uint — 0xAARRGGBB
|
| overlay | () | method |
public static function overlay(c1:uint, c2:uint):uint24bit Color (0xRRGGBB) を オーバーレイ(OVERLAY) でブレンドします.
Parametersc1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| overlay32 | () | method |
public static function overlay32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を オーバーレイ(OVERLAY) でブレンドします.
Parametersc1:uint — backcolor 0xAARRGGBB
|
|
c2:uint — forecolor 0xAARRGGBB
|
uint — 0xAARRGGBB
|
| overlayRGB | () | method |
public static function overlayRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uintRGB値を指定して オーバーレイ(OVERLAY) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
uint — 0xRRGGBB
|
| overlayRGBA | () | method |
public static function overlayRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uintRGBA値を指定して オーバーレイ(OVERLAY) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
|
a1:uint (default = 0xff) |
|
a2:uint (default = 0xff) |
uint — 0xAARRGGBB
|
| screen | () | method |
public static function screen(c1:uint, c2:uint):uint24bit Color (0xRRGGBB) を スクリーン(SCREEN) でブレンドします.
Parametersc1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| screen32 | () | method |
public static function screen32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を スクリーン(SCREEN) でブレンドします.
Parametersc1:uint — backcolor 0xAARRGGBB
|
|
c2:uint — forecolor 0xAARRGGBB
|
uint — 0xAARRGGBB
|
| screenRGB | () | method |
public static function screenRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uintRGB値を指定して スクリーン(SCREEN) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
uint — 0xRRGGBB
|
| screenRGBA | () | method |
public static function screenRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uintRGBA値を指定して スクリーン(SCREEN) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
|
a1:uint (default = 0xff) |
|
a2:uint (default = 0xff) |
uint — 0xAARRGGBB
|
| soft | () | method |
public static function soft(c1:uint, c2:uint):uint24bit Color (0xRRGGBB) を ソフトライト(SOFTLIGHT) でブレンドします.
Parametersc1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| soft32 | () | method |
public static function soft32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を ソフトライト(SOFTLIGHT) でブレンドします.
Parametersc1:uint — backcolor 0xAARRGGBB
|
|
c2:uint — forecolor 0xAARRGGBB
|
uint — 0xAARRGGBB
|
| softRGB | () | method |
public static function softRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uintRGB値を指定して ソフトライト(SOFTLIGHT) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
uint — 0xRRGGBB
|
| softRGBA | () | method |
public static function softRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uintRGBA値を指定して ソフトライト(SOFTLIGHT) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
|
a1:uint (default = 0xff) |
|
a2:uint (default = 0xff) |
uint — 0xAARRGGBB
|
| sub | () | method |
public static function sub(c1:uint, c2:uint):uint24bit Color (0xRRGGBB) を 減算(SUBTRACT) でブレンドします.
Parametersc1:uint — backcolor 0xRRGGBB
|
|
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| sub32 | () | method |
public static function sub32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 減算(SUBTRACT) でブレンドします.
Parametersc1:uint — backcolor 0xAARRGGBB
|
|
c2:uint — forecolor 0xAARRGGBB
|
uint — 0xAARRGGBB
|
| subRGB | () | method |
public static function subRGB(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint):uintRGB値を指定して 減算(SUBTRACT) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
uint — 0xRRGGBB
|
| subRGBA | () | method |
public static function subRGBA(r1:uint, g1:uint, b1:uint, r2:uint, g2:uint, b2:uint, a1:uint = 0xff, a2:uint = 0xff):uintRGBA値を指定して 減算(SUBTRACT) でブレンドします.
Parametersr1:uint |
|
g1:uint |
|
b1:uint |
|
r2:uint |
|
g2:uint |
|
b2:uint |
|
a1:uint (default = 0xff) |
|
a2:uint (default = 0xff) |
uint — 0xAARRGGBB
|
| ADD | constant |
public static const ADD:String = "add"
| BURN | constant |
public static const BURN:String = "burn"
| DARKEN | constant |
public static const DARKEN:String = "darken"
| DIFFERENCE | constant |
public static const DIFFERENCE:String = "difference"
| DODGE | constant |
public static const DODGE:String = "dodge"
| EXCLUSION | constant |
public static const EXCLUSION:String = "exclusion"
| HARDLIGHT | constant |
public static const HARDLIGHT:String = "hardlight"
| LIGHTEN | constant |
public static const LIGHTEN:String = "lighten"
| MULTIPLY | constant |
public static const MULTIPLY:String = "multiply"
| NORMAL | constant |
public static const NORMAL:String = "normal"
| OVERLAY | constant |
public static const OVERLAY:String = "overlay"
| SCREEN | constant |
public static const SCREEN:String = "screen"
| SOFTLIGHT | constant |
public static const SOFTLIGHT:String = "softlight"
| SUBTRACT | constant |
public static const SUBTRACT:String = "subtract"