ColorOverlayEffect.GetEffectBounds

ColorOverlayEffect.GetEffectBounds method

Calculate and gets the bounds of effect pixels based on input layer pixels bounds.

public Rectangle GetEffectBounds(Rectangle layerBounds, int globalAngle)
ParameterTypeDescription
layerBoundsRectangleThe layer pixels bounds.
globalAngleInt32The global angle to calculate global light angle.

Return Value

The bounds of effect pixels based on input layer pixels bounds.

See Also