Skip to main content
Go to Latest
class DrawableRectangle
implements IDrawable
import { DrawableRectangle } from "https://deno.land/x/imagemagick_deno@0.0.21/mod.ts";

Constructors

new
DrawableRectangle(
upperLeftX: number,
upperLeftY: number,
lowerRightX: number,
lowerRightY: number,
)

Properties

private
readonly
_lowerRightX: number
private
readonly
_lowerRightY: number
private
readonly
_upperLeftX: number
private
readonly
_upperLeftY: number

Methods

draw(wand: IDrawingWand): void