BitmapAreaProperties
Canonical path: NemAll_Python_BasisElements.BitmapAreaProperties
Properties of the bitmap area.
Methods:
-
SetTransparentColorAlpha–Set the first color alpha
-
SetTransparentColorBGR–Set the first color
-
SetTransparentColorIRGB–Set the first color
-
__eq__–equal operator
-
__init__–Overloaded function. See individual overloads.
-
__repr__–Convert to string
Attributes:
-
BitmapName(str) –Get the bitmapname
-
DirectionToReferenceLine(int) –Get the index of the direction line
-
ReferencePoint(Point2D) –Get the reference point
-
RotationAngle(Angle) –Get the rotation angle
-
SketchingTexture(bool) –Get the bitmap is sketching texture state
-
TransparentColor(ARGB) –Get the first color
-
TransparentColorTolerance(int) –Get the transparent color tolerance
-
UseDirectionToReferenceLine(bool) –Get the direction to reference line state
-
UseMetricalValues(bool) –Get the metrical value state
-
UsePixelMask(bool) –Get the make black pixels transparent state
-
UseReferencePoint(bool) –Get the use reference point state
-
UseRepeatTile(bool) –Get the repeat tile state
-
XOffset(float) –Get the offset in x direction
-
XScalingFactor(float) –Get the scaling factor in x direction
-
XShearingFactor(float) –Get the shearing factor in x direction
-
YOffset(float) –Get the offset in y direction
-
YScalingFactor(float) –Get the scaling factor in y direction
-
YShearingFactor(float) –Get the shearing factor in y direction
DirectionToReferenceLine
property
writable
Get the index of the direction line
TransparentColorTolerance
property
writable
Get the transparent color tolerance
UseDirectionToReferenceLine
property
writable
Get the direction to reference line state
SetTransparentColorAlpha
Set the first color alpha
Parameters:
-
value(int) –Alpha value of the first color
SetTransparentColorBGR
Set the first color
Parameters:
-
value(int) –BGR color value
SetTransparentColorIRGB
Set the first color
Parameters:
-
value(int) –IRGB color value
__eq__
__eq__(prop: BitmapAreaProperties) -> bool
equal operator
Parameters:
-
prop(BitmapAreaProperties) –BitmapProperties to compare
Returns:
-
bool–true if they are equal, false otherwise