
io.qt.gui.QPainterPath Maven / Gradle / Ivy
package io.qt.gui;
/**
* Container for painting operations, enabling graphical shapes to be constructed and reused
* Java wrapper for Qt class QPainterPath
*/
public class QPainterPath extends io.qt.QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Java wrapper for Qt enum QPainterPath::ElementType
*/
public enum ElementType implements io.qt.QtEnumerator {
MoveToElement(0),
LineToElement(1),
CurveToElement(2),
CurveToDataElement(3);
private ElementType(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static ElementType resolve(int value) {
switch (value) {
case 0: return MoveToElement;
case 1: return LineToElement;
case 2: return CurveToElement;
case 3: return CurveToDataElement;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* QPainterPath::Element class specifies the position and type of a subpath
* Java wrapper for Qt class QPainterPath::Element
*/
public static class Element extends io.qt.QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
public Element(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(Element instance);
/**
* See QPainterPath::Element::isCurveTo()const
*/
@io.qt.QtUninvokable
public final boolean isCurveTo(){
return isCurveTo_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isCurveTo_native_constfct(long __this__nativeId);
/**
* See QPainterPath::Element::isLineTo()const
*/
@io.qt.QtUninvokable
public final boolean isLineTo(){
return isLineTo_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isLineTo_native_constfct(long __this__nativeId);
/**
* See QPainterPath::Element::isMoveTo()const
*/
@io.qt.QtUninvokable
public final boolean isMoveTo(){
return isMoveTo_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isMoveTo_native_constfct(long __this__nativeId);
/**
* See QPainterPath::Element::operator QPointF()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPointF toPoint(){
return toPoint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPointF toPoint_native_constfct(long __this__nativeId);
/**
* See QPainterPath::Element::operator==(QPainterPath::Element)const
*/
@io.qt.QtUninvokable
private final boolean operator_equal(io.qt.gui.QPainterPath.Element e){
return operator_equal_native_cref_QPainterPath_Element_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native boolean operator_equal_native_cref_QPainterPath_Element_constfct(long __this__nativeId, long e);
/**
* The type of element
* See QPainterPath::Element::type
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPainterPath.ElementType type(){
return io.qt.gui.QPainterPath.ElementType.resolve(type_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int type_native(long __this__nativeId);
/**
* The x coordinate of the element's position
*
*/
@io.qt.QtUninvokable
public final double x(){
return x_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double x_native(long __this__nativeId);
/**
* The y coordinate of the element's position
*
*/
@io.qt.QtUninvokable
public final double y(){
return y_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double y_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected Element(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.QPainterPath.Element) {
return operator_equal((io.qt.gui.QPainterPath.Element) other);
}
return false;
}
@io.qt.QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native static int hashCode_native(long __this_nativeId);
@Override
public Element clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native Element clone_native(long __this_nativeId);
}
/**
* See QPainterPath::QPainterPath()
*/
public QPainterPath(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QPainterPath instance);
/**
* See QPainterPath::QPainterPath(QPainterPath)
*/
public QPainterPath(io.qt.gui.QPainterPath other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QPainterPath instance, io.qt.gui.QPainterPath other);
/**
* See QPainterPath::QPainterPath(QPointF)
*/
public QPainterPath(io.qt.core.QPointF startPoint){
super((QPrivateConstructor)null);
initialize_native(this, startPoint);
}
private native static void initialize_native(QPainterPath instance, io.qt.core.QPointF startPoint);
/**
* See QPainterPath::addEllipse(QPointF,qreal,qreal)
*/
@io.qt.QtUninvokable
public final void addEllipse(io.qt.core.QPointF center, double rx, double ry){
addEllipse_native_cref_QPointF_qtjambireal_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(center), rx, ry);
}
@io.qt.QtUninvokable
private native void addEllipse_native_cref_QPointF_qtjambireal_qtjambireal(long __this__nativeId, long center, double rx, double ry);
/**
* See QPainterPath::addEllipse(QRectF)
*/
@io.qt.QtUninvokable
public final void addEllipse(io.qt.core.QRectF rect){
addEllipse_native_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect));
}
@io.qt.QtUninvokable
private native void addEllipse_native_cref_QRectF(long __this__nativeId, long rect);
/**
* See QPainterPath::addEllipse(qreal,qreal,qreal,qreal)
*/
@io.qt.QtUninvokable
public final void addEllipse(double x, double y, double w, double h){
addEllipse_native_qtjambireal_qtjambireal_qtjambireal_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h);
}
@io.qt.QtUninvokable
private native void addEllipse_native_qtjambireal_qtjambireal_qtjambireal_qtjambireal(long __this__nativeId, double x, double y, double w, double h);
/**
* See QPainterPath::addPath(QPainterPath)
*/
@io.qt.QtUninvokable
public final void addPath(io.qt.gui.QPainterPath path){
addPath_native_cref_QPainterPath(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(path));
}
@io.qt.QtUninvokable
private native void addPath_native_cref_QPainterPath(long __this__nativeId, long path);
/**
* See QPainterPath::addPolygon(QPolygonF)
*/
@io.qt.QtUninvokable
public final void addPolygon(io.qt.gui.QPolygonF polygon){
addPolygon_native_cref_QPolygonF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(polygon));
}
@io.qt.QtUninvokable
private native void addPolygon_native_cref_QPolygonF(long __this__nativeId, long polygon);
/**
* See QPainterPath::addRect(QRectF)
*/
@io.qt.QtUninvokable
public final void addRect(io.qt.core.QRectF rect){
addRect_native_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect));
}
@io.qt.QtUninvokable
private native void addRect_native_cref_QRectF(long __this__nativeId, long rect);
/**
* See QPainterPath::addRect(qreal,qreal,qreal,qreal)
*/
@io.qt.QtUninvokable
public final void addRect(double x, double y, double w, double h){
addRect_native_qtjambireal_qtjambireal_qtjambireal_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h);
}
@io.qt.QtUninvokable
private native void addRect_native_qtjambireal_qtjambireal_qtjambireal_qtjambireal(long __this__nativeId, double x, double y, double w, double h);
/**
* See QPainterPath::addRegion(QRegion)
*/
@io.qt.QtUninvokable
public final void addRegion(io.qt.gui.QRegion region){
addRegion_native_cref_QRegion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(region));
}
@io.qt.QtUninvokable
private native void addRegion_native_cref_QRegion(long __this__nativeId, long region);
/**
* Overloaded function for {@link #addRoundedRect(io.qt.core.QRectF, double, double, io.qt.core.Qt.SizeMode)}
* with mode = io.qt.core.Qt.SizeMode.AbsoluteSize
.
*/
@io.qt.QtUninvokable
public final void addRoundedRect(io.qt.core.QRectF rect, double xRadius, double yRadius) {
addRoundedRect(rect, xRadius, yRadius, io.qt.core.Qt.SizeMode.AbsoluteSize);
}
/**
* See QPainterPath::addRoundedRect(QRectF,qreal,qreal,Qt::SizeMode)
*/
@io.qt.QtUninvokable
public final void addRoundedRect(io.qt.core.QRectF rect, double xRadius, double yRadius, io.qt.core.Qt.SizeMode mode){
addRoundedRect_native_cref_QRectF_qtjambireal_qtjambireal_Qt_SizeMode(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), xRadius, yRadius, mode.value());
}
@io.qt.QtUninvokable
private native void addRoundedRect_native_cref_QRectF_qtjambireal_qtjambireal_Qt_SizeMode(long __this__nativeId, long rect, double xRadius, double yRadius, int mode);
/**
* Overloaded function for {@link #addRoundedRect(double, double, double, double, double, double, io.qt.core.Qt.SizeMode)}
* with mode = io.qt.core.Qt.SizeMode.AbsoluteSize
.
*/
@io.qt.QtUninvokable
public final void addRoundedRect(double x, double y, double w, double h, double xRadius, double yRadius) {
addRoundedRect(x, y, w, h, xRadius, yRadius, io.qt.core.Qt.SizeMode.AbsoluteSize);
}
/**
* See QPainterPath::addRoundedRect(qreal,qreal,qreal,qreal,qreal,qreal,Qt::SizeMode)
*/
@io.qt.QtUninvokable
public final void addRoundedRect(double x, double y, double w, double h, double xRadius, double yRadius, io.qt.core.Qt.SizeMode mode){
addRoundedRect_native_qtjambireal_qtjambireal_qtjambireal_qtjambireal_qtjambireal_qtjambireal_Qt_SizeMode(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h, xRadius, yRadius, mode.value());
}
@io.qt.QtUninvokable
private native void addRoundedRect_native_qtjambireal_qtjambireal_qtjambireal_qtjambireal_qtjambireal_qtjambireal_Qt_SizeMode(long __this__nativeId, double x, double y, double w, double h, double xRadius, double yRadius, int mode);
/**
* See QPainterPath::addText(QPointF,QFont,QString)
*/
@io.qt.QtUninvokable
public final void addText(io.qt.core.QPointF point, io.qt.gui.QFont f, java.lang.String text){
addText_native_cref_QPointF_cref_QFont_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(point), QtJambi_LibraryUtilities.internal.checkedNativeId(f), text);
}
@io.qt.QtUninvokable
private native void addText_native_cref_QPointF_cref_QFont_cref_QString(long __this__nativeId, long point, long f, java.lang.String text);
/**
* See QPainterPath::addText(qreal,qreal,QFont,QString)
*/
@io.qt.QtUninvokable
public final void addText(double x, double y, io.qt.gui.QFont f, java.lang.String text){
addText_native_qtjambireal_qtjambireal_cref_QFont_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, QtJambi_LibraryUtilities.internal.checkedNativeId(f), text);
}
@io.qt.QtUninvokable
private native void addText_native_qtjambireal_qtjambireal_cref_QFont_cref_QString(long __this__nativeId, double x, double y, long f, java.lang.String text);
/**
* See QPainterPath::angleAtPercent(qreal)const
*/
@io.qt.QtUninvokable
public final double angleAtPercent(double t){
return angleAtPercent_native_qtjambireal_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), t);
}
@io.qt.QtUninvokable
private native double angleAtPercent_native_qtjambireal_constfct(long __this__nativeId, double t);
/**
* See QPainterPath::arcMoveTo(QRectF,qreal)
*/
@io.qt.QtUninvokable
public final void arcMoveTo(io.qt.core.QRectF rect, double angle){
arcMoveTo_native_cref_QRectF_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), angle);
}
@io.qt.QtUninvokable
private native void arcMoveTo_native_cref_QRectF_qtjambireal(long __this__nativeId, long rect, double angle);
/**
* See QPainterPath::arcMoveTo(qreal,qreal,qreal,qreal,qreal)
*/
@io.qt.QtUninvokable
public final void arcMoveTo(double x, double y, double w, double h, double angle){
arcMoveTo_native_qtjambireal_qtjambireal_qtjambireal_qtjambireal_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h, angle);
}
@io.qt.QtUninvokable
private native void arcMoveTo_native_qtjambireal_qtjambireal_qtjambireal_qtjambireal_qtjambireal(long __this__nativeId, double x, double y, double w, double h, double angle);
/**
* See QPainterPath::arcTo(QRectF,qreal,qreal)
*/
@io.qt.QtUninvokable
public final void arcTo(io.qt.core.QRectF rect, double startAngle, double arcLength){
arcTo_native_cref_QRectF_qtjambireal_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), startAngle, arcLength);
}
@io.qt.QtUninvokable
private native void arcTo_native_cref_QRectF_qtjambireal_qtjambireal(long __this__nativeId, long rect, double startAngle, double arcLength);
/**
* See QPainterPath::arcTo(qreal,qreal,qreal,qreal,qreal,qreal)
*/
@io.qt.QtUninvokable
public final void arcTo(double x, double y, double w, double h, double startAngle, double arcLength){
arcTo_native_qtjambireal_qtjambireal_qtjambireal_qtjambireal_qtjambireal_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h, startAngle, arcLength);
}
@io.qt.QtUninvokable
private native void arcTo_native_qtjambireal_qtjambireal_qtjambireal_qtjambireal_qtjambireal_qtjambireal(long __this__nativeId, double x, double y, double w, double h, double startAngle, double arcLength);
/**
* See QPainterPath::boundingRect()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRectF boundingRect(){
return boundingRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRectF boundingRect_native_constfct(long __this__nativeId);
/**
* See QPainterPath::capacity()const
*/
@io.qt.QtUninvokable
public final int capacity(){
return capacity_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int capacity_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void clear_native(long __this__nativeId);
/**
* See QPainterPath::closeSubpath()
*/
@io.qt.QtUninvokable
public final void closeSubpath(){
closeSubpath_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void closeSubpath_native(long __this__nativeId);
/**
* See QPainterPath::connectPath(QPainterPath)
*/
@io.qt.QtUninvokable
public final void connectPath(io.qt.gui.QPainterPath path){
connectPath_native_cref_QPainterPath(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(path));
}
@io.qt.QtUninvokable
private native void connectPath_native_cref_QPainterPath(long __this__nativeId, long path);
/**
* See QPainterPath::contains(QPainterPath)const
*/
@io.qt.QtUninvokable
public final boolean contains(io.qt.gui.QPainterPath p){
return contains_native_cref_QPainterPath_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native boolean contains_native_cref_QPainterPath_constfct(long __this__nativeId, long p);
/**
* See QPainterPath::contains(QPointF)const
*/
@io.qt.QtUninvokable
public final boolean contains(io.qt.core.QPointF pt){
return contains_native_cref_QPointF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt));
}
@io.qt.QtUninvokable
private native boolean contains_native_cref_QPointF_constfct(long __this__nativeId, long pt);
/**
* See QPainterPath::contains(QRectF)const
*/
@io.qt.QtUninvokable
public final boolean contains(io.qt.core.QRectF rect){
return contains_native_cref_QRectF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect));
}
@io.qt.QtUninvokable
private native boolean contains_native_cref_QRectF_constfct(long __this__nativeId, long rect);
/**
* See QPainterPath::controlPointRect()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRectF controlPointRect(){
return controlPointRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRectF controlPointRect_native_constfct(long __this__nativeId);
/**
* See QPainterPath::cubicTo(QPointF,QPointF,QPointF)
*/
@io.qt.QtUninvokable
public final void cubicTo(io.qt.core.QPointF ctrlPt1, io.qt.core.QPointF ctrlPt2, io.qt.core.QPointF endPt){
cubicTo_native_cref_QPointF_cref_QPointF_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(ctrlPt1), QtJambi_LibraryUtilities.internal.checkedNativeId(ctrlPt2), QtJambi_LibraryUtilities.internal.checkedNativeId(endPt));
}
@io.qt.QtUninvokable
private native void cubicTo_native_cref_QPointF_cref_QPointF_cref_QPointF(long __this__nativeId, long ctrlPt1, long ctrlPt2, long endPt);
/**
* See QPainterPath::cubicTo(qreal,qreal,qreal,qreal,qreal,qreal)
*/
@io.qt.QtUninvokable
public final void cubicTo(double ctrlPt1x, double ctrlPt1y, double ctrlPt2x, double ctrlPt2y, double endPtx, double endPty){
cubicTo_native_qtjambireal_qtjambireal_qtjambireal_qtjambireal_qtjambireal_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), ctrlPt1x, ctrlPt1y, ctrlPt2x, ctrlPt2y, endPtx, endPty);
}
@io.qt.QtUninvokable
private native void cubicTo_native_qtjambireal_qtjambireal_qtjambireal_qtjambireal_qtjambireal_qtjambireal(long __this__nativeId, double ctrlPt1x, double ctrlPt1y, double ctrlPt2x, double ctrlPt2y, double endPtx, double endPty);
/**
* See QPainterPath::currentPosition()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPointF currentPosition(){
return currentPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPointF currentPosition_native_constfct(long __this__nativeId);
/**
* See QPainterPath::elementAt(int)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPainterPath.Element elementAt(int i){
return elementAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@io.qt.QtUninvokable
private native io.qt.gui.QPainterPath.Element elementAt_native_int_constfct(long __this__nativeId, int i);
/**
* See QPainterPath::elementCount()const
*/
@io.qt.QtUninvokable
public final int elementCount(){
return elementCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int elementCount_native_constfct(long __this__nativeId);
/**
* See QPainterPath::fillRule()const
*/
@io.qt.QtUninvokable
public final io.qt.core.Qt.FillRule fillRule(){
return io.qt.core.Qt.FillRule.resolve(fillRule_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int fillRule_native_constfct(long __this__nativeId);
/**
* See QPainterPath::intersected(QPainterPath)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPainterPath intersected(io.qt.gui.QPainterPath r){
return intersected_native_cref_QPainterPath_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r));
}
@io.qt.QtUninvokable
private native io.qt.gui.QPainterPath intersected_native_cref_QPainterPath_constfct(long __this__nativeId, long r);
/**
* See QPainterPath::intersects(QPainterPath)const
*/
@io.qt.QtUninvokable
public final boolean intersects(io.qt.gui.QPainterPath p){
return intersects_native_cref_QPainterPath_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native boolean intersects_native_cref_QPainterPath_constfct(long __this__nativeId, long p);
/**
* See QPainterPath::intersects(QRectF)const
*/
@io.qt.QtUninvokable
public final boolean intersects(io.qt.core.QRectF rect){
return intersects_native_cref_QRectF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect));
}
@io.qt.QtUninvokable
private native boolean intersects_native_cref_QRectF_constfct(long __this__nativeId, long rect);
/**
* See QPainterPath::isEmpty()const
*/
@io.qt.QtUninvokable
public final boolean isEmpty(){
return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isEmpty_native_constfct(long __this__nativeId);
/**
* See QPainterPath::length()const
*/
@io.qt.QtUninvokable
public final double length(){
return length_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double length_native_constfct(long __this__nativeId);
/**
* See QPainterPath::lineTo(QPointF)
*/
@io.qt.QtUninvokable
public final void lineTo(io.qt.core.QPointF p){
lineTo_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native void lineTo_native_cref_QPointF(long __this__nativeId, long p);
/**
* See QPainterPath::lineTo(qreal,qreal)
*/
@io.qt.QtUninvokable
public final void lineTo(double x, double y){
lineTo_native_qtjambireal_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), x, y);
}
@io.qt.QtUninvokable
private native void lineTo_native_qtjambireal_qtjambireal(long __this__nativeId, double x, double y);
/**
* See QPainterPath::moveTo(QPointF)
*/
@io.qt.QtUninvokable
public final void moveTo(io.qt.core.QPointF p){
moveTo_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native void moveTo_native_cref_QPointF(long __this__nativeId, long p);
/**
* See QPainterPath::moveTo(qreal,qreal)
*/
@io.qt.QtUninvokable
public final void moveTo(double x, double y){
moveTo_native_qtjambireal_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), x, y);
}
@io.qt.QtUninvokable
private native void moveTo_native_qtjambireal_qtjambireal(long __this__nativeId, double x, double y);
/**
* See QPainterPath::operator&=(QPainterPath)
*/
@io.qt.QtUninvokable
public final void intersect(io.qt.gui.QPainterPath other){
intersect_native_cref_QPainterPath(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void intersect_native_cref_QPainterPath(long __this__nativeId, long other);
/**
* See QPainterPath::operator+=(QPainterPath)
*/
@io.qt.QtUninvokable
public final void unite(io.qt.gui.QPainterPath other){
unite_native_cref_QPainterPath(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void unite_native_cref_QPainterPath(long __this__nativeId, long other);
/**
* See QPainterPath::operator-=(QPainterPath)
*/
@io.qt.QtUninvokable
public final void subtract(io.qt.gui.QPainterPath other){
subtract_native_cref_QPainterPath(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void subtract_native_cref_QPainterPath(long __this__nativeId, long other);
@io.qt.QtUninvokable
public void writeTo(io.qt.core.QDataStream arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void writeTo_native_ref_QDataStream(long __this__nativeId, long arg__1);
/**
* See QPainterPath::operator==(QPainterPath)const
*/
@io.qt.QtUninvokable
private final boolean operator_equal(io.qt.gui.QPainterPath other){
return operator_equal_native_cref_QPainterPath_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native boolean operator_equal_native_cref_QPainterPath_constfct(long __this__nativeId, long other);
@io.qt.QtUninvokable
public void readFrom(io.qt.core.QDataStream arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void readFrom_native_ref_QDataStream(long __this__nativeId, long arg__1);
/**
* See QPainterPath::percentAtLength(qreal)const
*/
@io.qt.QtUninvokable
public final double percentAtLength(double t){
return percentAtLength_native_qtjambireal_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), t);
}
@io.qt.QtUninvokable
private native double percentAtLength_native_qtjambireal_constfct(long __this__nativeId, double t);
/**
* See QPainterPath::pointAtPercent(qreal)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPointF pointAtPercent(double t){
return pointAtPercent_native_qtjambireal_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), t);
}
@io.qt.QtUninvokable
private native io.qt.core.QPointF pointAtPercent_native_qtjambireal_constfct(long __this__nativeId, double t);
/**
* See QPainterPath::quadTo(QPointF,QPointF)
*/
@io.qt.QtUninvokable
public final void quadTo(io.qt.core.QPointF ctrlPt, io.qt.core.QPointF endPt){
quadTo_native_cref_QPointF_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(ctrlPt), QtJambi_LibraryUtilities.internal.checkedNativeId(endPt));
}
@io.qt.QtUninvokable
private native void quadTo_native_cref_QPointF_cref_QPointF(long __this__nativeId, long ctrlPt, long endPt);
/**
* See QPainterPath::quadTo(qreal,qreal,qreal,qreal)
*/
@io.qt.QtUninvokable
public final void quadTo(double ctrlPtx, double ctrlPty, double endPtx, double endPty){
quadTo_native_qtjambireal_qtjambireal_qtjambireal_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), ctrlPtx, ctrlPty, endPtx, endPty);
}
@io.qt.QtUninvokable
private native void quadTo_native_qtjambireal_qtjambireal_qtjambireal_qtjambireal(long __this__nativeId, double ctrlPtx, double ctrlPty, double endPtx, double endPty);
/**
* See QPainterPath::reserve(int)
*/
@io.qt.QtUninvokable
public final void reserve(int size){
reserve_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), size);
}
@io.qt.QtUninvokable
private native void reserve_native_int(long __this__nativeId, int size);
/**
* See QPainterPath::setElementPositionAt(int,qreal,qreal)
*/
@io.qt.QtUninvokable
public final void setElementPositionAt(int i, double x, double y){
setElementPositionAt_native_int_qtjambireal_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), i, x, y);
}
@io.qt.QtUninvokable
private native void setElementPositionAt_native_int_qtjambireal_qtjambireal(long __this__nativeId, int i, double x, double y);
/**
* See QPainterPath::setFillRule(Qt::FillRule)
*/
@io.qt.QtUninvokable
public final void setFillRule(io.qt.core.Qt.FillRule fillRule){
setFillRule_native_Qt_FillRule(QtJambi_LibraryUtilities.internal.nativeId(this), fillRule.value());
}
@io.qt.QtUninvokable
private native void setFillRule_native_Qt_FillRule(long __this__nativeId, int fillRule);
/**
* See QPainterPath::simplified()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPainterPath simplified(){
return simplified_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QPainterPath simplified_native_constfct(long __this__nativeId);
/**
* See QPainterPath::slopeAtPercent(qreal)const
*/
@io.qt.QtUninvokable
public final double slopeAtPercent(double t){
return slopeAtPercent_native_qtjambireal_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), t);
}
@io.qt.QtUninvokable
private native double slopeAtPercent_native_qtjambireal_constfct(long __this__nativeId, double t);
/**
* See QPainterPath::subtracted(QPainterPath)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPainterPath subtracted(io.qt.gui.QPainterPath r){
return subtracted_native_cref_QPainterPath_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r));
}
@io.qt.QtUninvokable
private native io.qt.gui.QPainterPath subtracted_native_cref_QPainterPath_constfct(long __this__nativeId, long r);
/**
* See QPainterPath::swap(QPainterPath&)
*/
@io.qt.QtUninvokable
public final void swap(io.qt.gui.QPainterPath other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QPainterPath(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void swap_native_ref_QPainterPath(long __this__nativeId, long other);
/**
* Overloaded function for {@link #toFillPolygon(io.qt.gui.QTransform)}
* with matrix = new io.qt.gui.QTransform()
.
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPolygonF toFillPolygon() {
return toFillPolygon(new io.qt.gui.QTransform());
}
/**
* See QPainterPath::toFillPolygon(QTransform)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPolygonF toFillPolygon(io.qt.gui.QTransform matrix){
return toFillPolygon_native_cref_QTransform_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(matrix));
}
@io.qt.QtUninvokable
private native io.qt.gui.QPolygonF toFillPolygon_native_cref_QTransform_constfct(long __this__nativeId, long matrix);
/**
* Overloaded function for {@link #toFillPolygons(io.qt.gui.QTransform)}
* with matrix = new io.qt.gui.QTransform()
.
*/
@io.qt.QtUninvokable
public final io.qt.core.QList toFillPolygons() {
return toFillPolygons(new io.qt.gui.QTransform());
}
/**
* See QPainterPath::toFillPolygons(QTransform)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QList toFillPolygons(io.qt.gui.QTransform matrix){
return toFillPolygons_native_cref_QTransform_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(matrix));
}
@io.qt.QtUninvokable
private native io.qt.core.QList toFillPolygons_native_cref_QTransform_constfct(long __this__nativeId, long matrix);
/**
* See QPainterPath::toReversed()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPainterPath toReversed(){
return toReversed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QPainterPath toReversed_native_constfct(long __this__nativeId);
/**
* Overloaded function for {@link #toSubpathPolygons(io.qt.gui.QTransform)}
* with matrix = new io.qt.gui.QTransform()
.
*/
@io.qt.QtUninvokable
public final io.qt.core.QList toSubpathPolygons() {
return toSubpathPolygons(new io.qt.gui.QTransform());
}
/**
* See QPainterPath::toSubpathPolygons(QTransform)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QList toSubpathPolygons(io.qt.gui.QTransform matrix){
return toSubpathPolygons_native_cref_QTransform_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(matrix));
}
@io.qt.QtUninvokable
private native io.qt.core.QList toSubpathPolygons_native_cref_QTransform_constfct(long __this__nativeId, long matrix);
/**
* See QPainterPath::translate(QPointF)
*/
@io.qt.QtUninvokable
public final void translate(io.qt.core.QPointF offset){
translate_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(offset));
}
@io.qt.QtUninvokable
private native void translate_native_cref_QPointF(long __this__nativeId, long offset);
/**
* See QPainterPath::translate(qreal,qreal)
*/
@io.qt.QtUninvokable
public final void translate(double dx, double dy){
translate_native_qtjambireal_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy);
}
@io.qt.QtUninvokable
private native void translate_native_qtjambireal_qtjambireal(long __this__nativeId, double dx, double dy);
/**
* See QPainterPath::translated(QPointF)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPainterPath translated(io.qt.core.QPointF offset){
return translated_native_cref_QPointF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(offset));
}
@io.qt.QtUninvokable
private native io.qt.gui.QPainterPath translated_native_cref_QPointF_constfct(long __this__nativeId, long offset);
/**
* See QPainterPath::translated(qreal,qreal)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPainterPath translated(double dx, double dy){
return translated_native_qtjambireal_qtjambireal_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy);
}
@io.qt.QtUninvokable
private native io.qt.gui.QPainterPath translated_native_qtjambireal_qtjambireal_constfct(long __this__nativeId, double dx, double dy);
/**
* See QPainterPath::united(QPainterPath)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPainterPath united(io.qt.gui.QPainterPath r){
return united_native_cref_QPainterPath_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r));
}
@io.qt.QtUninvokable
private native io.qt.gui.QPainterPath united_native_cref_QPainterPath_constfct(long __this__nativeId, long r);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QPainterPath(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.QPainterPath) {
return operator_equal((io.qt.gui.QPainterPath) other);
}
return false;
}
@io.qt.QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native static int hashCode_native(long __this_nativeId);
@Override
@io.qt.QtUninvokable
public String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private static native String toString_native(long __this_nativeId);
@Override
public QPainterPath clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QPainterPath clone_native(long __this_nativeId);
}