com.openhtmltopdf.render.OperatorSetClip Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openhtmltopdf-core Show documentation
Show all versions of openhtmltopdf-core Show documentation
Open HTML to PDF is a CSS 2.1 renderer written in Java. This artifact contains the core rendering and layout code.
package com.openhtmltopdf.render;
import java.awt.Shape;
/**
* A display list item that indicates the output device needs to expand
* the clip at this point.
*/
public class OperatorSetClip implements DisplayListItem {
private final Shape setClip;
public OperatorSetClip(Shape setClip) {
this.setClip = setClip;
}
public Shape getSetClipShape() {
return this.setClip;
}
}