class DDrawingPixel is a DDrawingPrimitive that highlights a pixel in the viewer window by a cross.
More...
Public Member Functions | |
| def | DDrawingPixel (x, y, red, green, blue, alpha=255) |
Construct DDrawingPixel given its position and color. More... | |
| def | x () |
X-Position. More... | |
| def | y () |
Y-Position. More... | |
| def | setX (x) |
Set X-Position. More... | |
| def | setY (y) |
Set Y-Position. More... | |
Public Member Functions inherited from dectris.albula.DDrawingPrimitive | |
| def | type () |
Returns the type of the primitve. More... | |
| def | red () |
red component of the color. More... | |
| def | green () |
green component of the color. More... | |
| def | blue () |
blue component of the color. More... | |
| def | alpha () |
alpha component of the color. More... | |
| def | setColor (red, green, blue, alpha) |
Set the red, green, blue and alpha component of the color. More... | |
class DDrawingPixel is a DDrawingPrimitive that highlights a pixel in the viewer window by a cross.
It is defined by its position.
| def dectris.albula.DDrawingPixel.DDrawingPixel | ( | x, | |
| y, | |||
| red, | |||
| green, | |||
| blue, | |||
alpha = 255 |
|||
| ) |
Construct DDrawingPixel given its position and color.
| x | Float. X-Position. |
| y | Float. Y-Position. |
| red | Integer between 0 and 255 |
| green | Integer between 0 and 255 |
| blue | Integer between 0 and 255 |
| alpha | Integer between 0 and 255. alpha defines the opacity of the displayed primitive. |
| def dectris.albula.DDrawingPixel.setX | ( | x | ) |
Set X-Position.
| x | Float. |
| def dectris.albula.DDrawingPixel.setY | ( | y | ) |
Set Y-Position.
| y | Float. |
| def dectris.albula.DDrawingPixel.x | ( | ) |
X-Position.
| def dectris.albula.DDrawingPixel.y | ( | ) |
Y-Position.