Package com.itextpdf.text.pdf

Examples of com.itextpdf.text.pdf.GrayColor


   * Sets the the background color to a grayscale value.
   *
   * @param value  the new grayscale value
   */
  public void setGrayFill(final float value) {
        backgroundColor = new GrayColor(value);
  }
View Full Code Here


   * Sets the the background color to a grayscale value.
   *
   * @param value  the new grayscale value
   */
  public void setGrayFill(final float value) {
        backgroundColor = new GrayColor(value);
  }
View Full Code Here

   * Sets the the background color to a grayscale value.
   *
   * @param value  the new grayscale value
   */
  public void setGrayFill(float value) {
        backgroundColor = new GrayColor(value);
  }
View Full Code Here

      for (int i = 0; i < nOperands; i++) {
        c[i] = ((PdfNumber)operands.get(i)).floatValue();
      }
      switch (nOperands) {
      case 1:
        return new GrayColor(c[0]);
      case 3:
        return new BaseColor(c[0], c[1], c[2]);
      case 4:
        return new CMYKColor(c[0], c[1], c[2], c[3]);
      }
View Full Code Here

   * Sets the the background color to a grayscale value.
   *
   * @param value  the new grayscale value
   */
  public void setGrayFill(final float value) {
        backgroundColor = new GrayColor(value);
  }
View Full Code Here

   * Sets the the background color to a grayscale value.
   *
   * @param value  the new grayscale value
   */
  public void setGrayFill(final float value) {
        backgroundColor = new GrayColor(value);
  }
View Full Code Here

TOP

Related Classes of com.itextpdf.text.pdf.GrayColor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.