io.qt.gui.QPainterPathStroker Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui;
import io.qt.*;
/**
* Used to generate fillable outlines for a given painter path
* Java wrapper for Qt class QPainterPathStroker
*/
public class QPainterPathStroker extends QtObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QPainterPathStroker:: QPainterPathStroker()
*/
public QPainterPathStroker(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QPainterPathStroker instance);
/**
* See QPainterPathStroker:: QPainterPathStroker(QPen)
*/
public QPainterPathStroker(io.qt.gui.@NonNull QPen pen){
super((QPrivateConstructor)null);
initialize_native(this, pen);
}
private native static void initialize_native(QPainterPathStroker instance, io.qt.gui.QPen pen);
/**
* See QPainterPathStroker:: capStyle()const
*/
@QtUninvokable
public final io.qt.core.Qt.@NonNull PenCapStyle capStyle(){
return io.qt.core.Qt.PenCapStyle.resolve(capStyle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int capStyle_native_constfct(long __this__nativeId);
/**
* See QPainterPathStroker:: createStroke(QPainterPath)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QPainterPath createStroke(io.qt.gui.@NonNull QPainterPath path){
return createStroke_native_cref_QPainterPath_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(path));
}
@QtUninvokable
private native io.qt.gui.QPainterPath createStroke_native_cref_QPainterPath_constfct(long __this__nativeId, long path);
/**
* See QPainterPathStroker:: curveThreshold()const
*/
@QtUninvokable
public final double curveThreshold(){
return curveThreshold_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double curveThreshold_native_constfct(long __this__nativeId);
/**
* See QPainterPathStroker:: dashOffset()const
*/
@QtUninvokable
public final double dashOffset(){
return dashOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double dashOffset_native_constfct(long __this__nativeId);
/**
* See QPainterPathStroker:: dashPattern()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList dashPattern(){
return dashPattern_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList dashPattern_native_constfct(long __this__nativeId);
/**
* See QPainterPathStroker:: joinStyle()const
*/
@QtUninvokable
public final io.qt.core.Qt.@NonNull PenJoinStyle joinStyle(){
return io.qt.core.Qt.PenJoinStyle.resolve(joinStyle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int joinStyle_native_constfct(long __this__nativeId);
/**
* See QPainterPathStroker:: miterLimit()const
*/
@QtUninvokable
public final double miterLimit(){
return miterLimit_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double miterLimit_native_constfct(long __this__nativeId);
/**
* See QPainterPathStroker:: setCapStyle(Qt::PenCapStyle)
*/
@QtUninvokable
public final void setCapStyle(io.qt.core.Qt.@NonNull PenCapStyle style){
setCapStyle_native_Qt_PenCapStyle(QtJambi_LibraryUtilities.internal.nativeId(this), style.value());
}
@QtUninvokable
private native void setCapStyle_native_Qt_PenCapStyle(long __this__nativeId, int style);
/**
* See QPainterPathStroker:: setCurveThreshold(qreal)
*/
@QtUninvokable
public final void setCurveThreshold(double threshold){
setCurveThreshold_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), threshold);
}
@QtUninvokable
private native void setCurveThreshold_native_qreal(long __this__nativeId, double threshold);
/**
* See QPainterPathStroker:: setDashOffset(qreal)
*/
@QtUninvokable
public final void setDashOffset(double offset){
setDashOffset_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), offset);
}
@QtUninvokable
private native void setDashOffset_native_qreal(long __this__nativeId, double offset);
/**
* See QPainterPathStroker:: setDashPattern(QList<qreal>)
*/
@QtUninvokable
public final void setDashPattern(java.util.@NonNull Collection dashPattern){
setDashPattern_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), dashPattern);
}
@QtUninvokable
private native void setDashPattern_native_cref_QList(long __this__nativeId, java.util.Collection dashPattern);
/**
* See QPainterPathStroker:: setDashPattern(Qt::PenStyle)
*/
@QtUninvokable
public final void setDashPattern(io.qt.core.Qt.@NonNull PenStyle arg__1){
setDashPattern_native_Qt_PenStyle(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
@QtUninvokable
private native void setDashPattern_native_Qt_PenStyle(long __this__nativeId, int arg__1);
/**
* See QPainterPathStroker:: setJoinStyle(Qt::PenJoinStyle)
*/
@QtUninvokable
public final void setJoinStyle(io.qt.core.Qt.@NonNull PenJoinStyle style){
setJoinStyle_native_Qt_PenJoinStyle(QtJambi_LibraryUtilities.internal.nativeId(this), style.value());
}
@QtUninvokable
private native void setJoinStyle_native_Qt_PenJoinStyle(long __this__nativeId, int style);
/**
* See QPainterPathStroker:: setMiterLimit(qreal)
*/
@QtUninvokable
public final void setMiterLimit(double length){
setMiterLimit_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), length);
}
@QtUninvokable
private native void setMiterLimit_native_qreal(long __this__nativeId, double length);
/**
* See QPainterPathStroker:: setWidth(qreal)
*/
@QtUninvokable
public final void setWidth(double width){
setWidth_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), width);
}
@QtUninvokable
private native void setWidth_native_qreal(long __this__nativeId, double width);
/**
* See QPainterPathStroker:: width()const
*/
@QtUninvokable
public final double width(){
return width_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double width_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QPainterPathStroker(QPrivateConstructor p) { super(p); }
/**
* Overloaded constructor for {@link #QPainterPathStroker(io.qt.gui.QPen)}.
*/
public QPainterPathStroker(io.qt.core.Qt.@NonNull PenStyle pen) {
this(new io.qt.gui.QPen(pen));
}
/**
* Overloaded constructor for {@link #QPainterPathStroker(io.qt.gui.QPen)}.
*/
public QPainterPathStroker(io.qt.gui.@NonNull QColor pen) {
this(new io.qt.gui.QPen(pen));
}
}