org.jpedal.objects.PdfShape Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of OpenViewerFX Show documentation
Show all versions of OpenViewerFX Show documentation
Open Source (LGPL) JavaFX PDF Viewer for NetBeans plugin
/*
* ===========================================
* Java Pdf Extraction Decoding Access Library
* ===========================================
*
* Project Info: http://www.idrsolutions.com
* Help section for developers at http://www.idrsolutions.com/support/
*
* (C) Copyright 1997-2017 IDRsolutions and Contributors.
*
* This file is part of JPedal/JPDF2HTML5
*
@LICENSE@
*
* ---------------
* PdfShape.java
* ---------------
*/
package org.jpedal.objects;
import java.awt.Shape;
/**
* allow us to have both Swing or javaFX implementations of Shape
*/
public interface PdfShape {
void setEVENODDWindingRule();
void setNONZEROWindingRule();
void closeShape();
Shape generateShapeFromPath(float[][] CTM, float lineWidth, int B);
void setClip(boolean b);
void resetPath();
boolean isClip();
int getSegmentCount();
int getComplexClipCount();
void lineTo(float parseFloat, float parseFloat0);
void moveTo(float parseFloat, float parseFloat0);
void appendRectangle(float parseFloat, float parseFloat0, float parseFloat1, float parseFloat2);
void addBezierCurveC(float x, float y, float x2, float y2, float x3, float y3);
void addBezierCurveV(float parseFloat, float parseFloat0, float parseFloat1, float parseFloat2);
void addBezierCurveY(float parseFloat, float parseFloat0, float parseFloat1, float parseFloat2);
Object getPath();
boolean isClosed();
void setShape(Shape currentShape);
Shape getShape();
}