Package org.pdfclown.objects

Examples of org.pdfclown.objects.PdfReal


    float control2Y
    )
  {
    super(
      FullOperator,
      new PdfReal(control1X),
      new PdfReal(control1Y),
      new PdfReal(control2X),
      new PdfReal(control2Y),
      new PdfReal(pointX),
      new PdfReal(pointY)
      );
  }
View Full Code Here


    String operator
    )
  {
    super(
      operator.equals(InitialOperator) ? InitialOperator : FinalOperator,
      new PdfReal(control.getX()),
      new PdfReal(control.getY()),
      new PdfReal(point.getX()),
      new PdfReal(point.getY())
      );
  }
View Full Code Here

    )
  {
    if(operator.equals(FinalOperator))
    {
      operator = FullOperator;
      operands.add(0,new PdfReal(value.getX()));
      operands.add(1,new PdfReal(value.getY()));
    }
    else
    {
      ((PdfNumber<?>)operands.get(0)).setValue(value.getX());
      ((PdfNumber<?>)operands.get(1)).setValue(value.getY());
View Full Code Here

        int dashIndex = 0,
          dashLength = dashArray.length;
        dashIndex < dashLength;
        dashIndex++
        )
      {dashObject.add(new PdfReal(dashArray[dashIndex]));}

      getBaseDataObject().put(PdfName.D, dashObject);
    }
  }
View Full Code Here

    @see #getWidth()
  */
  public void setWidth(
    float value
    )
  {getBaseDataObject().put(PdfName.W, new PdfReal(value));}
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

    {
      PdfDirectObject element;
      if(textItemExpected)
      {element = new PdfString((byte[])valueItem);}
      else
      {element = new PdfReal((Double)valueItem);}
      elements.add(element);

      textItemExpected = !textItemExpected;
    }
  }
View Full Code Here

  // <constructors>
  public SetFont(
    PdfName name,
    float size
    )
  {super(Operator, name, new PdfReal(size));}
View Full Code Here

              array.add(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

  // <dynamic>
  // <constructors>
  public SetMiterLimit(
    float value
    )
  {super(Operator, new PdfReal(value));}
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.