This is a Python binding to the C++ class Mantidplot::ImageSymbol.
bases: mantidplot.PlotSymbol
mantidplot.ImageSymbol(str)¶ImageSymbol(QPixmap, str = ‘’)
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¶imagePath(self) → str¶pen(self) → QPen¶pixmap(self) → QPixmap¶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¶