DrawingContext.composite

Composite filename/image with the receiver image.

  1. void composite(ssize_t xOffset, ssize_t yOffset, size_t width, size_t height, string filename, CompositeOperator compositeOp = CompositeOperator.OverCompositeOp)
    class DrawingContext
    void
    composite
  2. void composite(ssize_t xOffset, ssize_t yOffset, size_t width, size_t height, Image image, CompositeOperator compositeOp = CompositeOperator.OverCompositeOp)

Parameters

xOffset
Type: ssize_t

The x-offset of the composited image, measured from the upper-left corner of the image.

yOffset
Type: ssize_t

The y-offset of the composited image, measured from the upper-left corner of the image.

width
Type: size_t

Scale the composite image to this size. If value is 0, the composite image is not scaled.

height
Type: size_t

Scale the composite image to this size. If value is 0, the composite image is not scaled.

filename
Type: string

Filename of the mage to use in the composite operation.

compositeOp

The composite operation to use.

Meta