码迷,mamicode.com
首页 > 其他好文 > 详细

QPen

时间:2017-04-28 16:12:30      阅读:514      评论:0      收藏:0      [点我收藏+]

标签:dash   ted   setw   type   value   methods   line   __new__   gui   

Help on class QPen in module PyQt5.QtGui:

class QPen(sip.simplewrapper)
 |  QPen()
 |  QPen(Qt.PenStyle)
 |  QPen(Union[QBrush, QColor, Qt.GlobalColor, QGradient], float, style: Qt.PenStyle = Qt.SolidLine, cap: Qt.PenCapStyle = Qt.SquareCap, join: Qt.PenJoinStyle = Qt.BevelJoin)
 |  QPen(Union[QPen, QColor, Qt.GlobalColor, QGradient])
 |  QPen(Any)
 |  
 |  Method resolution order:
 |      QPen
 |      sip.simplewrapper
 |      builtins.object
 |  
 |  Methods defined here:
 |  
 |  __eq__(self, value, /)
 |      Return self==value.
 |  
 |  __ge__(self, value, /)
 |      Return self>=value.
 |  
 |  __gt__(self, value, /)
 |      Return self>value.
 |  
 |  __le__(self, value, /)
 |      Return self<=value.
 |  
 |  __lt__(self, value, /)
 |      Return self<value.
 |  
 |  __ne__(self, value, /)
 |      Return self!=value.
 |  
 |  brush(...)
 |      brush(self) -> QBrush
 |  
 |  capStyle(...)
 |      capStyle(self) -> Qt.PenCapStyle
 |  
 |  color(...)
 |      color(self) -> QColor
 |  
 |  dashOffset(...)
 |      dashOffset(self) -> float
 |  
 |  dashPattern(...)
 |      dashPattern(self) -> List[float]
 |  
 |  isCosmetic(...)
 |      isCosmetic(self) -> bool
 |  
 |  isSolid(...)
 |      isSolid(self) -> bool
 |  
 |  joinStyle(...)
 |      joinStyle(self) -> Qt.PenJoinStyle
 |  
 |  miterLimit(...)
 |      miterLimit(self) -> float
 |  
 |  setBrush(...)
 |      setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])
 |  
 |  setCapStyle(...)
 |      setCapStyle(self, Qt.PenCapStyle)
 |  
 |  setColor(...)
 |      setColor(self, Union[QColor, Qt.GlobalColor, QGradient])
 |  
 |  setCosmetic(...)
 |      setCosmetic(self, bool)
 |  
 |  setDashOffset(...)
 |      setDashOffset(self, float)
 |  
 |  setDashPattern(...)
 |      setDashPattern(self, Iterable[float])
 |  
 |  setJoinStyle(...)
 |      setJoinStyle(self, Qt.PenJoinStyle)
 |  
 |  setMiterLimit(...)
 |      setMiterLimit(self, float)
 |  
 |  setStyle(...)
 |      setStyle(self, Qt.PenStyle)
 |  
 |  setWidth(...)
 |      setWidth(self, int)
 |  
 |  setWidthF(...)
 |      setWidthF(self, float)
 |  
 |  style(...)
 |      style(self) -> Qt.PenStyle
 |  
 |  swap(...)
 |      swap(self, QPen)
 |  
 |  width(...)
 |      width(self) -> int
 |  
 |  widthF(...)
 |      widthF(self) -> float
 |  
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |  
 |  __weakref__
 |      list of weak references to the object (if defined)
 |  
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |  
 |  __hash__ = None
 |  
 |  ----------------------------------------------------------------------
 |  Methods inherited from sip.simplewrapper:
 |  
 |  __init__(self, /, *args, **kwargs)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |  
 |  __new__(*args, **kwargs) from sip.wrappertype
 |      Create and return a new object.  See help(type) for accurate signature.
 |  
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from sip.simplewrapper:
 |  
 |  __dict__


QPen

标签:dash   ted   setw   type   value   methods   line   __new__   gui   

原文地址:http://www.cnblogs.com/wangshuo1/p/6781502.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!