~ubuntu-branches/ubuntu/precise/arduino/precise

« back to all changes in this revision

Viewing changes to src/processing/core/PStyle.java

  • Committer: Bazaar Package Importer
  • Author(s): Scott Howard
  • Date: 2010-04-13 22:32:24 UTC
  • Revision ID: james.westby@ubuntu.com-20100413223224-jduxnd0xxnkkda02
Tags: upstream-0018+dfsg
ImportĀ upstreamĀ versionĀ 0018+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
 
2
 
 
3
/*
 
4
  Part of the Processing project - http://processing.org
 
5
 
 
6
  Copyright (c) 2008 Ben Fry and Casey Reas
 
7
 
 
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.
 
12
 
 
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.
 
17
 
 
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
 
22
*/
 
23
 
 
24
package processing.core;
 
25
 
 
26
 
 
27
public class PStyle implements PConstants {
 
28
  public int imageMode;
 
29
  public int rectMode;
 
30
  public int ellipseMode;
 
31
  public int shapeMode;
 
32
 
 
33
  public int colorMode;
 
34
  public float colorModeX;
 
35
  public float colorModeY;
 
36
  public float colorModeZ;
 
37
  public float colorModeA;
 
38
 
 
39
  public boolean tint;
 
40
  public int tintColor;
 
41
  public boolean fill;
 
42
  public int fillColor;
 
43
  public boolean stroke;
 
44
  public int strokeColor;
 
45
  public float strokeWeight;
 
46
  public int strokeCap;
 
47
  public int strokeJoin;
 
48
 
 
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;
 
54
 
 
55
  public PFont textFont;
 
56
  public int textAlign;
 
57
  public int textAlignY;
 
58
  public int textMode;
 
59
  public float textSize;
 
60
  public float textLeading;
 
61
}