If you think the Android project Processing-Android-Eclipse-Demos listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- *///www.java2s.com/*
Part of the Processing project - http://processing.org
Copyright (c) 2008-10 Ben Fry and Casey Reas
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License version 2.1 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General
Public License along with this library; if not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
Boston, MA 02111-1307 USA
*/package com.processing.core;
publicclass PStyle implements PConstants {
publicint imageMode;
publicint rectMode;
publicint ellipseMode;
publicint shapeMode;
publicint colorMode;
publicfloat colorModeX;
publicfloat colorModeY;
publicfloat colorModeZ;
publicfloat colorModeA;
publicboolean tint;
publicint tintColor;
publicboolean fill;
publicint fillColor;
publicboolean stroke;
publicint strokeColor;
publicfloat strokeWeight;
publicint strokeCap;
publicint strokeJoin;
// TODO these fellas are inconsistent, and may need to go elsewhere
publicfloat ambientR, ambientG, ambientB;
publicfloat specularR, specularG, specularB;
publicfloat emissiveR, emissiveG, emissiveB;
publicfloat shininess;
public PFont textFont;
publicint textAlign;
publicint textAlignY;
publicint textMode;
publicfloat textSize;
publicfloat textLeading;
}