←Select platform
In This Topic ▼

RasterPaintProperties Structure Members

Summary

The following tables list the members exposed by RasterPaintProperties.

Public Methods

Name Description
Public Method MakeRasterOperation Creates a ROP4 value from the specified foreground and background color values.

Public Properties

Name Description
Public Property Default Returns a new instance of the RasterPaintProperties structure with all members set to default values.
Public Property Opacity Gets or sets a value that indicates the opacity to use when painting the Leadtools.RasterImage.
Public Property PaintCallbacks Gets the list of RasterPaintCallbacks objects containing the custom callbacks.
Public Property PaintDisplayMode Gets and sets options that control the speed, quality, and style of painting operations.
Public Property PaintEngine Gets and sets the paint engine to use when displaying images.
Public Property RasterOperation Gets or sets the ROP value.
Public Property UsePaintPalette Enables or disables automatically using the Leadtools.RasterImage object palette when displaying the image.
Public Property UseTransform Gets or sets a value that indicate wherer to use the current transform in the destination System.Drawing.Graphics object when painting the image and regions.

Public Fields

Name Description
Public Field Blackness Fills the destination rectangle using the color associated with index 0 in the physical palette. (This color is black for the default physical palette.)
Public Field DestinationInvert Inverts the destination rectangle.
Public Field MergeCopy Merges the colors of the source rectangle with the brush currently selected in hdcDest, by using the Boolean AND operator.
Public Field MergePaint Merges the colors of the inverted source rectangle with the colors of the destination rectangle by using the Boolean OR operator.
Public Field NotSourceCopy Copies the inverted source rectangle to the destination.
Public Field NotSourceErase Combines the colors of the source and destination rectangles by using the Boolean OR operator and then inverts the resultant color.
Public Field PatternCopy Copies the brush currently selected in hdcDest, into the destination bitmap.
Public Field PatternInvert Combines the colors of the brush currently selected in hdcDest, with the colors of the destination rectangle by using the Boolean XOR operator.
Public Field PatternPaint Combines the colors of the brush currently selected in hdcDest, with the colors of the inverted source rectangle by using the Boolean OR operator. The result of this operation is combined with the colors of the destination rectangle by using the Boolean OR operator.
Public Field SourceAnd Combines the colors of the source and destination rectangles by using the Boolean AND operator.
Public Field SourceCopy Copies the source rectangle directly to the destination rectangle.
Public Field SourceErase Combines the inverted colors of the destination rectangle with the colors of the source rectangle by using the Boolean AND operator.
Public Field SourceInvert Combines the colors of the source and destination rectangles by using the Boolean XOR operator.
Public Field SourcePaint Combines the colors of the source and destination rectangles by using the Boolean OR operator.
Public Field Whiteness Fills the destination rectangle using the color associated with index 1 in the physical palette. (This color is white for the default physical palette.)

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Drawing Assembly