ImageSymbol
This is a Python binding to the C++ class Mantidplot::ImageSymbol.
bases: mantidplot.PlotSymbol
-
class mantidplot.ImageSymbol
ImageSymbol(QString)
ImageSymbol(QPixmap, QString = 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(self) → QBrush
-
ImageSymbol.imagePath(self) → QString
-
ImageSymbol.pen(self) → QPen
-
ImageSymbol.pixmap(self) → QPixmap
-
ImageSymbol.setBrush(self, QBrush)
-
ImageSymbol.setPen(self, QPen)
-
ImageSymbol.setSize(self, QSize)
setSize(self, int, int = -1)
-
ImageSymbol.setStyle(self, PlotSymbol.Style)
-
ImageSymbol.size(self) → QSize
-
ImageSymbol.style(self) → PlotSymbol.Style