Sha256: 5775e9b59f3590edf234cc88d200d6f2b3a9d206c20edd377f152dc5b28d0d04

Contents?: true

Size: 1.8 KB

Versions: 19

Compression:

Stored size: 1.8 KB

Contents

/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */

/*
  Part of the Processing project - http://processing.org

  Copyright (c) 2008 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 as published by the Free Software Foundation; either
  version 2.1 of the License, or (at your option) any later version.

  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 processing.core;


public class PStyle implements PConstants {
  public int imageMode;
  public int rectMode;
  public int ellipseMode;
  public int shapeMode;

  public int blendMode;

  public int colorMode;
  public float colorModeX;
  public float colorModeY;
  public float colorModeZ;
  public float colorModeA;

  public boolean tint;
  public int tintColor;
  public boolean fill;
  public int fillColor;
  public boolean stroke;
  public int strokeColor;
  public float strokeWeight;
  public int strokeCap;
  public int strokeJoin;

  // TODO these fellas are inconsistent, and may need to go elsewhere
  public float ambientR, ambientG, ambientB;
  public float specularR, specularG, specularB;
  public float emissiveR, emissiveG, emissiveB;
  public float shininess;

  public PFont textFont;
  public int textAlign;
  public int textAlignY;
  public int textMode;
  public float textSize;
  public float textLeading;
}

Version data entries

19 entries across 18 versions & 2 rubygems

Version Path
propane-4.0.0-java src/main/java/processing/core/PStyle.java
propane-3.11.0-java src/main/java/processing/core/PStyle.java
propane-3.10.0-java src/main/java/processing/core/PStyle.java
propane-3.10.0-java lib/java/processing/core/PStyle.java
propane-3.9.0-java src/main/java/processing/core/PStyle.java
propane-3.8.0-java src/main/java/processing/core/PStyle.java
propane-3.7.1-java src/main/java/processing/core/PStyle.java
propane-3.7.0.pre-java src/main/java/processing/core/PStyle.java
propane-3.6.0-java src/main/java/processing/core/PStyle.java
propane-3.5.0-java src/main/java/processing/core/PStyle.java
propane-3.1.0.pre-java src/main/java/processing/core/PStyle.java
propane-2.9.3-java src/main/java/processing/core/PStyle.java
propane-3.0.1.pre-java src/main/java/processing/core/PStyle.java
propane-2.9.2-java src/main/java/processing/core/PStyle.java
propane-3.0.0.pre-java src/main/java/processing/core/PStyle.java
propane-2.9.1-java src/main/java/processing/core/PStyle.java
propane-2.9.0-java src/main/java/processing/core/PStyle.java
picrate-0.3.0-java src/main/java/processing/core/PStyle.java
propane-2.8.0.pre-java src/main/java/processing/core/PStyle.java