This is a Python binding to the C++ class Mantidplot::PlotSymbol.
mantidplot.PlotSymbol¶PlotSymbol(PlotSymbol.Style, Union[QBrush, QColor, Qt.GlobalColor, QGradient], Union[QPen, QColor, Qt.GlobalColor, QGradient], QSize)
Cross = 8¶DTriangle = 4¶Diamond = 2¶Ellipse = 0¶HLine = 10¶Hexagon = 14¶LTriangle = 6¶NoSymbol = -1¶RTriangle = 7¶Rect = 1¶Star1 = 12¶Star2 = 13¶Style¶bit_length() → int¶Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
StyleCnt = 15¶Triangle = 3¶UTriangle = 5¶VLine = 11¶XCross = 9¶brush(self) → QBrush¶pen(self) → QPen¶setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])¶setPen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])¶setSize(self, QSize)¶setSize(self, int, int = -1)
setStyle(self, PlotSymbol.Style)¶size(self) → QSize¶style(self) → PlotSymbol.Style¶