Sha256: e25d02864a66d408eff7dc073f9d2321cb1afdb792672f945bc733de9a894cfa

Contents?: true

Size: 1.79 KB

Versions: 6

Compression:

Stored size: 1.79 KB

Contents

/*
  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

6 entries across 6 versions & 1 rubygems

Version Path
propane-3.4.2-java src/main/java/processing/core/PStyle.java
propane-3.4.1-java src/main/java/processing/core/PStyle.java
propane-3.4.0-java src/main/java/processing/core/PStyle.java
propane-3.3.1-java src/main/java/processing/core/PStyle.java
propane-3.3.0-java src/main/java/processing/core/PStyle.java
propane-3.2.0-java src/main/java/processing/core/PStyle.java