ImageSymbol
This a python binding to the C++ class Mantidplot::ImageSymbol.
bases: mantidplot.PlotSymbol
-
class mantidplot.ImageSymbol
ImageSymbol(QString)
ImageSymbol(QPixmap, QString fileName=QString())
-
Cross = 8
-
DTriangle = 4
-
Diamond = 2
-
Ellipse = 0
-
HLine = 10
-
Hexagon = 14
-
LTriangle = 6
-
NoSymbol = -1
-
RTriangle = 7
-
Rect = 1
-
Star1 = 12
-
Star2 = 13
-
class Style
-
__init__
x.__init__(...) initializes x; see help(type(x)) for signature
-
bit_length() → int
Number of bits necessary to represent self in binary.
>>> bin(37)
‘0b100101’
>>> (37).bit_length()
6
-
conjugate()
Returns self, the complex conjugate of any int.
-
denominator
the denominator of a rational number in lowest terms
-
imag
the imaginary part of a complex number
-
numerator
the numerator of a rational number in lowest terms
-
real
the real part of a complex number
-
ImageSymbol.StyleCnt = 15
-
ImageSymbol.Triangle = 3
-
ImageSymbol.UTriangle = 5
-
ImageSymbol.VLine = 11
-
ImageSymbol.XCross = 9
-
ImageSymbol.__init__
x.__init__(...) initializes x; see help(type(x)) for signature
-
ImageSymbol.brush() → QBrush
-
ImageSymbol.imagePath() → QString
-
ImageSymbol.pen() → QPen
-
ImageSymbol.pixmap() → QPixmap
-
ImageSymbol.setBrush(QBrush)
-
ImageSymbol.setPen(QPen)
-
ImageSymbol.setSize(QSize)
PlotSymbol.setSize(int, int b=-1)
-
ImageSymbol.setStyle(PlotSymbol.Style)
-
ImageSymbol.size() → QSize
-
ImageSymbol.style() → PlotSymbol.Style