|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object common:Generic reb:ImageTrapColoring
class
This is a generic image trap coloring mode formula.
It take the results of a imag trap mode and returns both a value to use as
a color index and a color
class ImageTrapColoring(Generic) { ; This is a generic image trap coloring mode formula. <br> ; <p> ; It take the results of a imag trap mode and returns both a value to use as ; a color index and a color public: import "common.ulb" ; constructor func ImageTrapColoring(Generic pparent) Generic.Generic(pparent) endfunc ; get a final index result float func Result(ImageTrapMode ptrapmode) return ptrapmode.GetDistance(0) endfunc ; get a final color result color func CResult(ImageTrapMode ptrapmode) return ptrapmode.GetColor(0) endfunc default: int param v_imagetrapcoloring caption = "Version (Image Trap Coloring)" default = 100 hint = "This version parameter is used to detect when a change has been made to the formula that is incompatible with the previous version. When that happens, this field will reflect the old version number to alert you to the fact that an alternate rendering is being used." visible = @v_imagetrapcoloring < 100 endparam }
Constructor Summary | |
---|---|
ImageTrapColoring()
|
|
ImageTrapColoring(Generic pparent)
constructor |
Method Summary | |
---|---|
color |
CResult(ImageTrapMode ptrapmode)
get a final color result |
float |
Result(ImageTrapMode ptrapmode)
get a final index result |
Methods inherited from class common:Generic |
---|
GetParent |
Methods inherited from class Object |
---|
|
Constructor Detail |
---|
public ImageTrapColoring(Generic pparent)
public ImageTrapColoring()
Method Detail |
---|
public float Result(ImageTrapMode ptrapmode)
public color CResult(ImageTrapMode ptrapmode)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |