1
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
4
Part of the Processing project - http://processing.org
6
Copyright (c) 2008 Ben Fry and Casey Reas
8
This library is free software; you can redistribute it and/or
9
modify it under the terms of the GNU Lesser General Public
10
License as published by the Free Software Foundation; either
11
version 2.1 of the License, or (at your option) any later version.
13
This library is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
Lesser General Public License for more details.
18
You should have received a copy of the GNU Lesser General
19
Public License along with this library; if not, write to the
20
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21
Boston, MA 02111-1307 USA
24
package processing.core;
27
public class PStyle implements PConstants {
30
public int ellipseMode;
34
public float colorModeX;
35
public float colorModeY;
36
public float colorModeZ;
37
public float colorModeA;
43
public boolean stroke;
44
public int strokeColor;
45
public float strokeWeight;
47
public int strokeJoin;
49
// TODO these fellas are inconsistent, and may need to go elsewhere
50
public float ambientR, ambientG, ambientB;
51
public float specularR, specularG, specularB;
52
public float emissiveR, emissiveG, emissiveB;
53
public float shininess;
55
public PFont textFont;
57
public int textAlignY;
59
public float textSize;
60
public float textLeading;