public QGraphicsPathItem(QPainterPath path) : this((Type) null) { CreateProxy(); interceptor.Invoke("QGraphicsPathItem#", "QGraphicsPathItem(const QPainterPath&)", typeof(void), typeof(QPainterPath), path); }
public void SetClipPath(QPainterPath path) { interceptor.Invoke("setClipPath#", "setClipPath(const QPainterPath&)", typeof(void), typeof(QPainterPath), path); }
public QPainterPath MapToItem(IQGraphicsItem item, QPainterPath path) { return (QPainterPath) interceptor.Invoke("mapToItem##", "mapToItem(const QGraphicsItem*, const QPainterPath&) const", typeof(QPainterPath), typeof(IQGraphicsItem), item, typeof(QPainterPath), path); }
public override void Paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) { // Body painter.SetBrush(color); painter.DrawEllipse(-10, -20, 20, 40); // Eyes painter.SetBrush(Qt.GlobalColor.white); painter.DrawEllipse(-10, -17, 8, 8); painter.DrawEllipse(2, -17, 8, 8); // Nose painter.SetBrush(Qt.GlobalColor.black); painter.DrawEllipse(new QRectF(-2, -22, 4, 4)); // Pupils painter.DrawEllipse(new QRectF(-8.0 + mouseEyeDirection, -17, 4, 4)); painter.DrawEllipse(new QRectF(4.0 + mouseEyeDirection, -17, 4, 4)); // Ears painter.SetBrush(Scene().CollidingItems(this).Count == 0 ? Qt.GlobalColor.darkYellow : Qt.GlobalColor.red); painter.DrawEllipse(-17, -12, 16, 16); painter.DrawEllipse(1, -12, 16, 16); // Tail QPainterPath path = new QPainterPath(new QPointF(0, 20)); path.CubicTo(-5, 22, -5, 22, 0, 25); path.CubicTo(5, 27, 5, 32, 0, 30); path.CubicTo(-5, 32, -5, 42, 0, 35); painter.SetBrush(Qt.BrushStyle.NoBrush); painter.DrawPath(path); }
public void SetSelectionArea(QPainterPath path, QTransform deviceTransform) { interceptor.Invoke("setSelectionArea##", "setSelectionArea(const QPainterPath&, const QTransform&)", typeof(void), typeof(QPainterPath), path, typeof(QTransform), deviceTransform); }
public static QDataStream Write(QDataStream arg1, QPainterPath arg2) { return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QPainterPath&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QPainterPath), arg2); }
public void SetSelectionArea(QPainterPath path, Qt.ItemSelectionMode arg2) { interceptor.Invoke("setSelectionArea#$", "setSelectionArea(const QPainterPath&, Qt::ItemSelectionMode)", typeof(void), typeof(QPainterPath), path, typeof(Qt.ItemSelectionMode), arg2); }
public List<IQGraphicsItem> Items(QPainterPath path, Qt.ItemSelectionMode mode, Qt.SortOrder order, QTransform deviceTransform) { return (List<IQGraphicsItem>) interceptor.Invoke("items#$$#", "items(const QPainterPath&, Qt::ItemSelectionMode, Qt::SortOrder, const QTransform&) const", typeof(List<IQGraphicsItem>), typeof(QPainterPath), path, typeof(Qt.ItemSelectionMode), mode, typeof(Qt.SortOrder), order, typeof(QTransform), deviceTransform); }
public List <IQGraphicsItem> Items(QPainterPath path) { return((List <IQGraphicsItem>)interceptor.Invoke("items#", "items(const QPainterPath&) const", typeof(List <IQGraphicsItem>), typeof(QPainterPath), path)); }
public void SetSelectionArea(QPainterPath path) { interceptor.Invoke("setSelectionArea#", "setSelectionArea(const QPainterPath&)", typeof(void), typeof(QPainterPath), path); }
public List <IQGraphicsItem> Items(QPainterPath path, Qt.ItemSelectionMode mode) { return((List <IQGraphicsItem>)interceptor.Invoke("items#$", "items(const QPainterPath&, Qt::ItemSelectionMode) const", typeof(List <IQGraphicsItem>), typeof(QPainterPath), path, typeof(Qt.ItemSelectionMode), mode)); }
public QPainterPath MapFromScene(QPainterPath path) { return((QPainterPath)interceptor.Invoke("mapFromScene#", "mapFromScene(const QPainterPath&) const", typeof(QPainterPath), typeof(QPainterPath), path)); }
public QPainterPath CreateStroke(QPainterPath path) { return((QPainterPath)interceptor.Invoke("createStroke#", "createStroke(const QPainterPath&) const", typeof(QPainterPath), typeof(QPainterPath), path)); }
public void DrawPath(QPainterPath path) { interceptor.Invoke("drawPath#", "drawPath(const QPainterPath&)", typeof(void), typeof(QPainterPath), path); }
public QGraphicsPathItem AddPath(QPainterPath path, QPen pen, QBrush brush) { return((QGraphicsPathItem)interceptor.Invoke("addPath###", "addPath(const QPainterPath&, const QPen&, const QBrush&)", typeof(QGraphicsPathItem), typeof(QPainterPath), path, typeof(QPen), pen, typeof(QBrush), brush)); }
public QGraphicsPathItem AddPath(QPainterPath path, QPen pen) { return (QGraphicsPathItem) interceptor.Invoke("addPath##", "addPath(const QPainterPath&, const QPen&)", typeof(QGraphicsPathItem), typeof(QPainterPath), path, typeof(QPen), pen); }
public QGraphicsPathItem AddPath(QPainterPath path) { return((QGraphicsPathItem)interceptor.Invoke("addPath#", "addPath(const QPainterPath&)", typeof(QGraphicsPathItem), typeof(QPainterPath), path)); }
public List<IQGraphicsItem> Items(QPainterPath path) { return (List<IQGraphicsItem>) interceptor.Invoke("items#", "items(const QPainterPath&) const", typeof(List<IQGraphicsItem>), typeof(QPainterPath), path); }
public QPainterPath Map(QPainterPath p) { return((QPainterPath)interceptor.Invoke("map#", "map(const QPainterPath&) const", typeof(QPainterPath), typeof(QPainterPath), p)); }
public void SetSelectionArea(QPainterPath path, Qt.ItemSelectionMode mode, QTransform deviceTransform) { interceptor.Invoke("setSelectionArea#$#", "setSelectionArea(const QPainterPath&, Qt::ItemSelectionMode, const QTransform&)", typeof(void), typeof(QPainterPath), path, typeof(Qt.ItemSelectionMode), mode, typeof(QTransform), deviceTransform); }
public QPainterPath MapToItem(IQGraphicsItem item, QPainterPath path) { return applet.MapToItem(item, path); }
public virtual bool CollidesWithPath(QPainterPath path) { return (bool) interceptor.Invoke("collidesWithPath#", "collidesWithPath(const QPainterPath&) const", typeof(bool), typeof(QPainterPath), path); }
public QPainterPath MapToParent(QPainterPath path) { return applet.MapToParent(path); }
public QGraphicsPathItem(QPainterPath path) : this((Type)null) { CreateProxy(); interceptor.Invoke("QGraphicsPathItem#", "QGraphicsPathItem(const QPainterPath&)", typeof(void), typeof(QPainterPath), path); }
public QPainterPath MapToScene(QPainterPath path) { return applet.MapToScene(path); }
public QGraphicsPathItem(QPainterPath path, IQGraphicsItem parent) : this((Type) null) { CreateProxy(); interceptor.Invoke("QGraphicsPathItem##", "QGraphicsPathItem(const QPainterPath&, QGraphicsItem*)", typeof(void), typeof(QPainterPath), path, typeof(IQGraphicsItem), parent); }
public virtual void DrawPath(QPainterPath path) { interceptor.Invoke("drawPath#", "drawPath(const QPainterPath&)", typeof(void), typeof(QPainterPath), path); }
public void SetClipPath(QPainterPath path, Qt.ClipOperation op) { interceptor.Invoke("setClipPath#$", "setClipPath(const QPainterPath&, Qt::ClipOperation)", typeof(void), typeof(QPainterPath), path, typeof(Qt.ClipOperation), op); }
public QPainterPath Map(QPainterPath p) { return (QPainterPath) interceptor.Invoke("map#", "map(const QPainterPath&) const", typeof(QPainterPath), typeof(QPainterPath), p); }
public void StrokePath(QPainterPath path, QPen pen) { interceptor.Invoke("strokePath##", "strokePath(const QPainterPath&, const QPen&)", typeof(void), typeof(QPainterPath), path, typeof(QPen), pen); }
public QPainterPath CreateStroke(QPainterPath path) { return (QPainterPath) interceptor.Invoke("createStroke#", "createStroke(const QPainterPath&) const", typeof(QPainterPath), typeof(QPainterPath), path); }
public void FillPath(QPainterPath path, QBrush brush) { interceptor.Invoke("fillPath##", "fillPath(const QPainterPath&, const QBrush&)", typeof(void), typeof(QPainterPath), path, typeof(QBrush), brush); }
public void AddPath(QPainterPath path) { interceptor.Invoke("addPath#", "addPath(const QPainterPath&)", typeof(void), typeof(QPainterPath), path); }
public QGraphicsPathItem AddPath(QPainterPath path) { return (QGraphicsPathItem) interceptor.Invoke("addPath#", "addPath(const QPainterPath&)", typeof(QGraphicsPathItem), typeof(QPainterPath), path); }
public void ConnectPath(QPainterPath path) { interceptor.Invoke("connectPath#", "connectPath(const QPainterPath&)", typeof(void), typeof(QPainterPath), path); }
public List<IQGraphicsItem> Items(QPainterPath path, Qt.ItemSelectionMode mode) { return (List<IQGraphicsItem>) interceptor.Invoke("items#$", "items(const QPainterPath&, Qt::ItemSelectionMode) const", typeof(List<IQGraphicsItem>), typeof(QPainterPath), path, typeof(Qt.ItemSelectionMode), mode); }
public bool Intersects(QPainterPath p) { return((bool)interceptor.Invoke("intersects#", "intersects(const QPainterPath&) const", typeof(bool), typeof(QPainterPath), p)); }
public bool Contains(QPainterPath p) { return((bool)interceptor.Invoke("contains#", "contains(const QPainterPath&) const", typeof(bool), typeof(QPainterPath), p)); }
public void SetSelectionArea(QPainterPath path, Qt.ItemSelectionMode mode) { interceptor.Invoke("setSelectionArea#$", "setSelectionArea(const QPainterPath&, Qt::ItemSelectionMode)", typeof(void), typeof(QPainterPath), path, typeof(Qt.ItemSelectionMode), mode); }
public QPainterPath Intersected(QPainterPath r) { return((QPainterPath)interceptor.Invoke("intersected#", "intersected(const QPainterPath&) const", typeof(QPainterPath), typeof(QPainterPath), r)); }
public static QDataStream Read(QDataStream arg1, QPainterPath arg2) { return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QPainterPath&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QPainterPath), arg2); }
public QPainterPath SubtractedInverted(QPainterPath r) { return((QPainterPath)interceptor.Invoke("subtractedInverted#", "subtractedInverted(const QPainterPath&) const", typeof(QPainterPath), typeof(QPainterPath), r)); }
public virtual bool CollidesWithPath(QPainterPath path, Qt.ItemSelectionMode mode) { return (bool) interceptor.Invoke("collidesWithPath#$", "collidesWithPath(const QPainterPath&, Qt::ItemSelectionMode) const", typeof(bool), typeof(QPainterPath), path, typeof(Qt.ItemSelectionMode), mode); }
public QPainterPath(QPainterPath other) : this((Type)null) { CreateProxy(); interceptor.Invoke("QPainterPath#", "QPainterPath(const QPainterPath&)", typeof(void), typeof(QPainterPath), other); }
public QPainterPath MapFromParent(QPainterPath path) { return (QPainterPath) interceptor.Invoke("mapFromParent#", "mapFromParent(const QPainterPath&) const", typeof(QPainterPath), typeof(QPainterPath), path); }
public QPainterPath Shape() { QPainterPath path = new QPainterPath(); path.AddRect(-10, -20, 20, 40); return path; }
public QPainterPath MapToScene(QPainterPath path) { return (QPainterPath) interceptor.Invoke("mapToScene#", "mapToScene(const QPainterPath&) const", typeof(QPainterPath), typeof(QPainterPath), path); }
public QGraphicsPathItem(QPainterPath path, IQGraphicsItem parent) : this((Type)null) { CreateProxy(); interceptor.Invoke("QGraphicsPathItem##", "QGraphicsPathItem(const QPainterPath&, QGraphicsItem*)", typeof(void), typeof(QPainterPath), path, typeof(IQGraphicsItem), parent); }