| Package | frocessing.color |
| Class | public class ColorBlend |
| Inheritance | ColorBlend Object |
ColorBlend クラスにはブレンドを行ういくつかのメソッドを提供しています.
オーソドックスなブレンドメソッドは以下のようなものです.
import frocessing.color.ColorBlend;
var blendcololr :uint;
//24bit Color (0xRRGGBB) blend
blendcololr = ColorBlend.blend( 0x66CC00, 0x33FFCC, ColorBlend.ADD );
trace( blendcololr.toString(16) );
//[ 99ffcc ]が出力されます
//32bit Color (0xAARRGGBB) blend
blendcololr = ColorBlend.blend( 0x3366CC00, 0x6633FFCC, ColorBlend.ADD );
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(c1:uint, c2:uint, blendkind:String):uint [static]
2つの色を指定されたブレンドモードでブレンドした結果を返します. | 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) でブレンドします.
Parameters
c1:uint — backcolor 0xRRGGBB
| |
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| add32 | () | method |
public static function add32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 加算(ADD) でブレンドします.
Parameters
c1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
r1: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(c1:uint, c2:uint, blendkind:String):uint2つの色を指定されたブレンドモードでブレンドした結果を返します.
ブレンドモードは以下のモードから指定します.
Parameters
c1:uint — backcolor
| |
c2:uint — forecolor
| |
blendkind:String — blend mode
|
uint — 0xAARRGGBB | 0xRRGGBB
|
| burn | () | method |
public static function burn(c1:uint, c2:uint):uint24bit Color (0xRRGGBB) を 焼き込み(BURN) でブレンドします.
Parameters
c1:uint — backcolor 0xRRGGBB
| |
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| burn32 | () | method |
public static function burn32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 焼き込み(BURN) でブレンドします.
Parameters
c1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
c1:uint — backcolor 0xRRGGBB
| |
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| dark32 | () | method |
public static function dark32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 比較暗(DARKEN) でブレンドします.
Parameters
c1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
c1:uint — backcolor 0xRRGGBB
| |
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| diff32 | () | method |
public static function diff32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 差の絶対値(DIFFERENCE) でブレンドします.
Parameters
c1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
c1:uint — backcolor 0xRRGGBB
| |
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| dodge32 | () | method |
public static function dodge32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 覆い焼き(DODGE) でブレンドします.
Parameters
c1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
c1:uint — backcolor 0xRRGGBB
| |
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| excl32 | () | method |
public static function excl32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 除外(EXCLUSION) でブレンドします.
Parameters
c1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
c1:uint — backcolor 0xRRGGBB
| |
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| hard32 | () | method |
public static function hard32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を ハードライト(HARDLIGHT) でブレンドします.
Parameters
c1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
c1:uint — backcolor 0xRRGGBB
| |
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| light32 | () | method |
public static function light32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 比較明(LIGHTEN) でブレンドします.
Parameters
c1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
c1:uint — backcolor 0xRRGGBB
| |
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| multi32 | () | method |
public static function multi32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 乗算(MULTIPLY) でブレンドします.
Parameters
c1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
r1: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) を ブレンドします.
Parameters
c1: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値をブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
c1:uint — backcolor 0xRRGGBB
| |
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| overlay32 | () | method |
public static function overlay32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を オーバーレイ(OVERLAY) でブレンドします.
Parameters
c1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
c1:uint — backcolor 0xRRGGBB
| |
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| screen32 | () | method |
public static function screen32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を スクリーン(SCREEN) でブレンドします.
Parameters
c1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
c1:uint — backcolor 0xRRGGBB
| |
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| soft32 | () | method |
public static function soft32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を ソフトライト(SOFTLIGHT) でブレンドします.
Parameters
c1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
c1:uint — backcolor 0xRRGGBB
| |
c2:uint — forecolor 0xRRGGBB
|
uint — 0xRRGGBB
|
| sub32 | () | method |
public static function sub32(c1:uint, c2:uint):uint32bit Color (0xAARRGGBB) を 減算(SUBTRACT) でブレンドします.
Parameters
c1: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) でブレンドします.
Parameters
r1: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) でブレンドします.
Parameters
r1: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