public class LinkRenderProps
extends java.lang.Object
Constructor and Description |
---|
LinkRenderProps(int r,
int g,
int b,
int alpha) |
LinkRenderProps(int r,
int g,
int b,
int alpha,
int size) |
Modifier and Type | Method and Description |
---|---|
int |
alphaStretch(float stretch) |
int |
blue() |
int |
blueStretch(float stretch) |
int |
getAlpha() |
int |
getColor() |
int |
getSize() |
int |
getStrainAlpha() |
int |
getStrainColor() |
float |
getStrainMax() |
int |
green() |
int |
greenStretch(float stretch) |
int |
red() |
int |
redStretch(float stretch) |
void |
setAlpha(int val) |
void |
setColor(int r,
int g,
int b,
int alpha) |
void |
setSize(int size) |
void |
setStrainColor(int r,
int g,
int b,
int alpha) |
void |
setStrainGradient(boolean val,
float max) |
boolean |
strainGradient() |
public LinkRenderProps(int r, int g, int b, int alpha)
public LinkRenderProps(int r, int g, int b, int alpha, int size)
public void setAlpha(int val)
public int getAlpha()
public int getColor()
public void setStrainGradient(boolean val, float max)
public boolean strainGradient()
public float getStrainMax()
public void setColor(int r, int g, int b, int alpha)
public void setStrainColor(int r, int g, int b, int alpha)
public int getStrainColor()
public int getStrainAlpha()
public int getSize()
public void setSize(int size)
public int red()
public int green()
public int blue()
public int redStretch(float stretch)
public int greenStretch(float stretch)
public int blueStretch(float stretch)
public int alphaStretch(float stretch)
Processing Library miPhysics by James Leonard. (c) 2019