a port of the Processing Visualization Language
Class PShape
Name

height

Examples
// The file "bot.svg" must be in the data folder
// of the current sketch to load successfully
PShape s;
s = loadShape("bot.svg");
smooth();
shape(s);
println(s.height);  // Prints 285.0, the height of the shape
Description The height of the PShape document.
Syntax
sh.height
Parameters
sh PShape: any variable of type PShape
Usage Web & Application

This reference is licensed under the CC BY-NC-SA 2.0 license:

Creative Commons License
Fork me on GitHub