Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / CompositeMode Enumeration

In This Topic
    CompositeMode Enumeration
    In This Topic
    Specifies the Porter Duff compositing method in which two pixels (source and destination) may contribute to the final color of the pixel.
    Syntax
    'Declaration
     
    Public Enum CompositeMode 
       Inherits System.Enum
    public enum CompositeMode : System.Enum 
    Members
    MemberDescription
    BoundedCopyThe source is copied to the destination, excluding the transparent pixels.
    ClearNo regions are enabled.
    CopyOnly the source will be present.
    DestinationOnly the destination will be present.
    DestinationAtopDestination which overlaps the source replaces the source. Source is placed elsewhere.
    DestinationInDestination which overlaps the source, replaces the source.
    DestinationOutDestination is placed, where it falls outside of the source.
    DestinationOverDestination is placed over the source.
    LighterDisplay the sum of the source image and destination image.
    SourceAtopSource which overlaps the destination, replaces the destination. Destination is placed elsewhere.
    SourceInThe source that overlaps the destination, replaces the destination.
    SourceOutSource is placed, where it falls outside of the destination.
    SourceOverSource is placed over the destination.
    XORThe non-overlapping regions of source and destination are combined.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Documents.Imaging.CompositeMode

    See Also