javae_logo_small
void addSY(int, float);

Function:
Adds data to the current height size of the defined layer. Processing assumes 1.0 is "normal" size. In other words, 1.0 = 100%, 0.55 = 55%, and 1.25 = 125%. Assuming the layer is already at 100% size, sending a value of 1.0 will double its height size (1.0 + 1.0 = 2.0), but sending 100 will increase it's height size to 10,100% (1.0 + 100.0=101.0).


Send:
Layer number (int). Additional width size data (float).

Returns:
Nothing

example:
float moreX = 0;
float moreY = 0;

void draw(){
background(myComp.getBG());
myComp.drawLayer(2);
//change scale of Layer 2 by moving the mouse
float distX = mouseX-pmouseX;
float distY = mouseY-pmouseY;
moreX=((moreX+distX)-50)/100;
moreY=((moreY+distY)-50)/100;
//Add mouse position data to scale in layer 2
myComp.addSX(2, moreX);
myComp.addSY(2, moreY);
}