Package org.pdfclown.objects

Examples of org.pdfclown.objects.PdfReal


            // Add the current item to the array!
            array.add((PdfDirectObject)parsePdfObject());
          }
          return array;
        case Real:
          return new PdfReal((Float)token);
        case Boolean:
          return PdfBoolean.get((Boolean)token);
        case Date:
          return new PdfDate((Date)token);
        case Hex:
View Full Code Here


    double f
    )
  {
    super(
      Operator,
      new PdfReal(a),
      new PdfReal(b),
      new PdfReal(c),
      new PdfReal(d),
      new PdfReal(e),
      new PdfReal(f)
      );
  }
View Full Code Here

    float charSpace
    )
  {
    super(
      SpaceOperator,
      new PdfReal(wordSpace),
      new PdfReal(charSpace),
      new PdfString(text)
      );
  }
View Full Code Here

    )
  {
    if(operator.equals(SimpleOperator))
    {
      operator = SpaceOperator;
      operands.add(0,new PdfReal(0));
      operands.add(1,new PdfReal(0));
    }
  }
View Full Code Here

              PdfName.BC,
              PdfName.CA
            },
            new PdfDirectObject[]
            {
              new PdfArray(new PdfDirectObject[]{new PdfReal(0.9412),new PdfReal(0.9412),new PdfReal(0.9412)}),
              new PdfArray(new PdfDirectObject[]{new PdfInteger(0),new PdfInteger(0),new PdfInteger(0)}),
              new PdfString("4")
            }
            )
          );
        widgetDataObject.put(
          PdfName.BS,
          new PdfDictionary(
            new PdfName[]
            {
              PdfName.W,
              PdfName.S
            },
            new PdfDirectObject[]
            {
              new PdfReal(0.8),
              PdfName.S
            }
            )
          );
        widgetDataObject.put(
View Full Code Here

              PdfName.BC,
              PdfName.CA
            },
            new PdfDirectObject[]
            {
              new PdfArray(new PdfDirectObject[]{new PdfReal(0.9412),new PdfReal(0.9412),new PdfReal(0.9412)}),
              new PdfArray(new PdfDirectObject[]{new PdfInteger(0),new PdfInteger(0),new PdfInteger(0)}),
              new PdfString("l")
            }
            )
          );
        widgetDataObject.put(
          PdfName.BS,
          new PdfDictionary(
            new PdfName[]
            {
              PdfName.W,
              PdfName.S
            },
            new PdfDirectObject[]
            {
              new PdfReal(0.8),
              PdfName.S
            }
            )
          );
        widgetDataObject.put(
View Full Code Here

            PdfName.BG,
            PdfName.BC
          },
          new PdfDirectObject[]
          {
            new PdfArray(new PdfDirectObject[]{new PdfReal(.9),new PdfReal(.9),new PdfReal(.9)}),
            new PdfArray(new PdfDirectObject[]{new PdfInteger(0),new PdfInteger(0),new PdfInteger(0)})
          }
          )
        );
    }
View Full Code Here

  // <dynamic>
  // <constructors>
  public SetTextScale(
    float value
    )
  {super(Operator, new PdfReal(value));}
View Full Code Here

    )
  {
    super(
      Operator,
      new PdfArray(
        new PdfReal(unitsOn),
        new PdfReal(unitsOff)
        ),
      new PdfReal(phase)
      );
  }
View Full Code Here

      int index = 0,
        length = dashArray.length;
      index < length;
      index++
      )
    {baseDashArray.set(index,new PdfReal(dashArray[index]));}
    operands.set(0,baseDashArray);
    // 2. Dash phase.
    ((PdfNumber<?>)operands.get(1)).setValue(value.getDashPhase());
  }
View Full Code Here

TOP

Related Classes of org.pdfclown.objects.PdfReal

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.