magickRaiseImage method
MagickRaiseImage() creates a simulated three-dimensional button-like effect by lightening and darkening the edges of the image. Members width and height of raise_info define the width of the vertical and horizontal edge of the effect.
This method runs inside an isolate different from the main isolate.
width
: the width of the area to raise.height
: the height of the area to raise.x
: the x offset of the area to raise.y
: the y offset of the area to raise.raise
: a value other than zero creates a 3-D raise effect, otherwise it has a lowered effect.
Implementation
Future<bool> magickRaiseImage({
required int width,
required int height,
required int x,
required int y,
required bool raise,
}) async =>
await _magickCompute(
_magickRaiseImage,
_MagickRaiseImageParams(
_wandPtr.address,
width,
height,
x,
y,
raise,
),
);