GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • @maxgraph/core

This view

  • Original page
  • New address

GeezerVison is showing maxgraph.github.io — ImageShape | @maxgraph/core

  • ImageShape

Class ImageShape

Extends RectangleShape to implement an image shape.

This shape is registered under image in ShapeRegistry when using Graph or calling registerDefaultShapes.

Hierarchy (View Summary)

  • RectangleShape
    • ImageShape
  • Defined in view/shape/node/ImageShape.ts:33
Index

Constructors

constructor

Properties

antiAlias boundingBox bounds cursor dialect direction endArrow endSize fill fillOpacity flipH flipV glass gradient gradientDirection image imageSrc indicator indicatorColor indicatorDirection indicatorGradientColor indicatorImageSrc indicatorShape indicatorStrokeColor isDashed isRounded isShadow minSvgStrokeWidth node oldGradients opacity originalPointerEvents outline overlay pointerEvents points preserveImageAspect rotation scale shadow shapePointerEvents spacing startArrow startSize state stencil stencilPointerEvents stroke strokeOpacity strokeWidth style svgPointerEvents svgStrokeTolerance useSvgBoundingBox verticalTextRotation visible

Methods

addPoints afterPaint apply augmentBoundingBox beforePaint checkBounds clear configureCanvas create createBoundingBox createCanvas createSvgCanvas createTransparentSvgRectangle destroy destroyCanvas getArcSize getBaseArcSize getCursor getGradientBounds getLabelBounds getLabelMargins getRotation getShapeRotation getSvgScreenOffset getTextRotation init initStyles isHtmlAllowed isPaintBoundsInverted isRoundable paint paintBackground paintEdgeShape paintForeground paintGlassEffect paintVertexShape redraw redrawHtmlShape redrawShape releaseSvgGradients resetStyles setCursor setTransparentBackgroundImage updateBoundingBox updateBoundsFromPoints updateTransform

Constructors

constructor

  • new ImageShape(
        bounds: Rectangle,
        imageSrc: string,
        fill?: string,
        stroke?: string,
        strokeWidth?: number,
    ): ImageShape

    Parameters

    • bounds: Rectangle
    • imageSrc: string
    • fill: string = '#FFFFFF'
    • stroke: string = '#000000'
    • strokeWidth: number = 1

    Returns ImageShape

    Overrides RectangleShape.constructor

    • Defined in view/shape/node/ImageShape.ts:34

Properties

antiAlias

antiAlias: boolean = true

Rendering hint for configuring the canvas.

Inherited from RectangleShape.antiAlias

  • Defined in view/shape/Shape.ts:187

boundingBox

boundingBox: Rectangle | null = null

Contains the bounding box of the shape, that is, the smallest rectangle that includes all pixels of the shape.

Inherited from RectangleShape.boundingBox

  • Defined in view/shape/Shape.ts:223

bounds

bounds: Rectangle | null = null

Holds the Rectangle that specifies the bounds of this shape.

Inherited from RectangleShape.bounds

  • Defined in view/shape/Shape.ts:197

cursor

cursor: string = ''

Inherited from RectangleShape.cursor

  • Defined in view/shape/Shape.ts:166

dialect

dialect: DialectValue | null = null

Holds the dialect in which the shape is to be painted.

Inherited from RectangleShape.dialect

  • Defined in view/shape/Shape.ts:177

direction

direction: DirectionValue = 'east'

Inherited from RectangleShape.direction

  • Defined in view/shape/Shape.ts:154

endArrow

endArrow: string = NONE

Inherited from RectangleShape.endArrow

  • Defined in view/shape/Shape.ts:152

endSize

endSize: number = 1

Inherited from RectangleShape.endSize

  • Defined in view/shape/Shape.ts:148

fill

fill: string = NONE

Inherited from RectangleShape.fill

  • Defined in view/shape/Shape.ts:130

fillOpacity

fillOpacity: number = 100

Inherited from RectangleShape.fillOpacity

  • Defined in view/shape/Shape.ts:136

flipH

flipH: boolean = false

Inherited from RectangleShape.flipH

  • Defined in view/shape/Shape.ts:156

flipV

flipV: boolean = false

Inherited from RectangleShape.flipV

  • Defined in view/shape/Shape.ts:158

glass

glass: boolean = false

Inherited from RectangleShape.glass

  • Defined in view/shape/Shape.ts:172

gradient

gradient: string = NONE

Inherited from RectangleShape.gradient

  • Defined in view/shape/Shape.ts:132

gradientDirection

gradientDirection: DirectionValue = 'east'

Inherited from RectangleShape.gradientDirection

  • Defined in view/shape/Shape.ts:134

image

image: ImageBox | null = null

Inherited from RectangleShape.image

  • Defined in view/shape/Shape.ts:280

imageSrc

imageSrc: string | null = null

Inherited from RectangleShape.imageSrc

  • Defined in view/shape/Shape.ts:282

indicator

indicator: Shape | null = null

Inherited from RectangleShape.indicator

  • Defined in view/shape/Shape.ts:123

indicatorColor

indicatorColor: string = NONE

Inherited from RectangleShape.indicatorColor

  • Defined in view/shape/Shape.ts:284

indicatorDirection

indicatorDirection: DirectionValue = 'east'

Inherited from RectangleShape.indicatorDirection

  • Defined in view/shape/Shape.ts:290

indicatorGradientColor

indicatorGradientColor: string = NONE

Inherited from RectangleShape.indicatorGradientColor

  • Defined in view/shape/Shape.ts:288

indicatorImageSrc

indicatorImageSrc: string | null = null

Inherited from RectangleShape.indicatorImageSrc

  • Defined in view/shape/Shape.ts:292

indicatorShape

indicatorShape: typeof Shape | null = null

Inherited from RectangleShape.indicatorShape

  • Defined in view/shape/Shape.ts:124

indicatorStrokeColor

indicatorStrokeColor: string = NONE

Inherited from RectangleShape.indicatorStrokeColor

  • Defined in view/shape/Shape.ts:286

isDashed

isDashed: boolean = false

Inherited from RectangleShape.isDashed

  • Defined in view/shape/Shape.ts:128

isRounded

isRounded: boolean = false

Inherited from RectangleShape.isRounded

  • Defined in view/shape/Shape.ts:162

isShadow

isShadow: boolean = false

Inherited from RectangleShape.isShadow

  • Defined in view/shape/Shape.ts:160

minSvgStrokeWidth

minSvgStrokeWidth: number = 1

Minimum stroke width for SVG output.

Inherited from RectangleShape.minSvgStrokeWidth

  • Defined in view/shape/Shape.ts:192

node

node: SVGGElement

Holds the outermost DOM node that represents this shape.

Inherited from RectangleShape.node

  • Defined in view/shape/Shape.ts:207

oldGradients

oldGradients: GradientMap = {}

Inherited from RectangleShape.oldGradients

  • Defined in view/shape/Shape.ts:170

opacity

opacity: number = 100

See

CellHighlight

Inherited from RectangleShape.opacity

  • Defined in view/shape/Shape.ts:127

originalPointerEvents

originalPointerEvents: boolean | null = null

Inherited from RectangleShape.originalPointerEvents

  • Defined in view/shape/Shape.ts:242

outline

outline: boolean = false

Specifies if the shape should be drawn as an outline. This disables all fill colors and can be used to disable other drawing states that should not be painted for outlines. Default is false. This should be set before calling .

Inherited from RectangleShape.outline

  • Defined in view/shape/Shape.ts:267

overlay

overlay: CellOverlay | null = null

Inherited from RectangleShape.overlay

  • Defined in view/shape/Shape.ts:122

pointerEvents

pointerEvents: boolean = true

Specifies if pointer events should be handled. Default is true.

Inherited from RectangleShape.pointerEvents

  • Defined in view/shape/Shape.ts:240

points

points: (Point | null)[] = []

Holds the array of that specify the points of this shape.

Inherited from RectangleShape.points

  • Defined in view/shape/Shape.ts:202

preserveImageAspect

preserveImageAspect: boolean = false

Switch to preserve image aspect.

Default

false

Inherited from RectangleShape.preserveImageAspect

  • Defined in view/shape/Shape.ts:121

rotation

rotation: number = 0

Inherited from RectangleShape.rotation

  • Defined in view/shape/Shape.ts:164

scale

scale: number = 1

Holds the scale in which the shape is being painted.

Inherited from RectangleShape.scale

  • Defined in view/shape/Shape.ts:182

shadow

shadow: boolean
  • Defined in view/shape/node/ImageShape.ts:49

shapePointerEvents

shapePointerEvents: boolean = false

Specifies if pointer events outside of shape should be handled. Default is false.

Inherited from RectangleShape.shapePointerEvents

  • Defined in view/shape/Shape.ts:253

spacing

spacing: number = 0

Inherited from RectangleShape.spacing

  • Defined in view/shape/Shape.ts:144

startArrow

startArrow: string = NONE

Inherited from RectangleShape.startArrow

  • Defined in view/shape/Shape.ts:150

startSize

startSize: number = 1

Inherited from RectangleShape.startSize

  • Defined in view/shape/Shape.ts:146

state

state: CellState | null = null

Optional reference to the corresponding .

Inherited from RectangleShape.state

  • Defined in view/shape/Shape.ts:212

stencil

stencil: StencilShape | null = null

Holds the StencilShape that defines the shape.

Inherited from RectangleShape.stencil

  • Defined in view/shape/Shape.ts:228

stencilPointerEvents

stencilPointerEvents: boolean = false

Specifies if pointer events outside of stencils should be handled. Default is false. Set this to true for backwards compatibility with the 1.x branch.

Inherited from RectangleShape.stencilPointerEvents

  • Defined in view/shape/Shape.ts:259

stroke

stroke: string = NONE

Inherited from RectangleShape.stroke

  • Defined in view/shape/Shape.ts:140

strokeOpacity

strokeOpacity: number = 100

Inherited from RectangleShape.strokeOpacity

  • Defined in view/shape/Shape.ts:138

strokeWidth

strokeWidth: number = 1

Inherited from RectangleShape.strokeWidth

  • Defined in view/shape/Shape.ts:142

style

style: CellStateStyle | null = null

Optional reference to the style of the corresponding .

Inherited from RectangleShape.style

  • Defined in view/shape/Shape.ts:217

svgPointerEvents

svgPointerEvents: string = 'all'

Specifies if pointer events should be handled. Default is true.

Inherited from RectangleShape.svgPointerEvents

  • Defined in view/shape/Shape.ts:247

svgStrokeTolerance

svgStrokeTolerance: number = 8

Event-tolerance for SVG strokes (in px). This is only passed to the canvas in createSvgCanvas if pointerEvents is true.

Default

8

Inherited from RectangleShape.svgStrokeTolerance

  • Defined in view/shape/Shape.ts:235

useSvgBoundingBox

useSvgBoundingBox: boolean = true

Allows to use the SVG bounding box in SVG. Default is false for performance reasons.

Inherited from RectangleShape.useSvgBoundingBox

  • Defined in view/shape/Shape.ts:278

verticalTextRotation

verticalTextRotation: number = 0

Inherited from RectangleShape.verticalTextRotation

  • Defined in view/shape/Shape.ts:168

visible

visible: boolean = true

Specifies if the shape is visible. Default is true.

Inherited from RectangleShape.visible

  • Defined in view/shape/Shape.ts:272

Methods

addPoints

  • addPoints(
        c: AbstractCanvas2D,
        pts: Point[],
        rounded?: boolean,
        arcSize: number,
        close?: boolean,
        exclude?: number[],
        initialMove?: boolean,
    ): void

    Paints the given points with rounded corners.

    Parameters

    • c: AbstractCanvas2D
    • pts: Point[]
    • rounded: boolean = false
    • arcSize: number
    • close: boolean = false
    • exclude: number[] = []
    • initialMove: boolean = true

    Returns void

    Inherited from RectangleShape.addPoints

    • Defined in view/shape/Shape.ts:839

afterPaint

  • afterPaint(c: AbstractCanvas2D): void

    Invokes after paint was called.

    Parameters

    • c: AbstractCanvas2D

    Returns void

    Inherited from RectangleShape.afterPaint

    • Defined in view/shape/Shape.ts:589

apply

  • apply(state: CellState): void

    Overrides to replace the fill and stroke colors with the respective values from imageBackground and imageBorder.

    Applies the style of the given CellState to the shape. This implementation assigns the following styles to local fields:

    • imageBackground => fill
    • imageBorder => stroke

    Parameters

    • state: CellState

      CellState of the corresponding cell.

    Returns void

    Overrides RectangleShape.apply

    • Defined in view/shape/node/ImageShape.ts:68

augmentBoundingBox

  • augmentBoundingBox(bbox: Rectangle): void

    Augments the bounding box with the strokewidth and shadow offsets.

    Parameters

    • bbox: Rectangle

    Returns void

    Inherited from RectangleShape.augmentBoundingBox

    • Defined in view/shape/Shape.ts:1105

beforePaint

  • beforePaint(c: AbstractCanvas2D): void

    Invoked before paint is called.

    Parameters

    • c: AbstractCanvas2D

    Returns void

    Inherited from RectangleShape.beforePaint

    • Defined in view/shape/Shape.ts:582

checkBounds

  • checkBounds(): boolean | null

    Returns true if the bounds are not null and all of its variables are numeric.

    Returns boolean | null

    Inherited from RectangleShape.checkBounds

    • Defined in view/shape/Shape.ts:453

clear

  • clear(): void

    Removes all child nodes and resets all CSS.

    Returns void

    Inherited from RectangleShape.clear

    • Defined in view/shape/Shape.ts:373

configureCanvas

  • configureCanvas(
        c: AbstractCanvas2D,
        x: number,
        y: number,
        w: number,
        h: number,
    ): void

    Sets the state of the canvas for drawing the shape.

    Parameters

    • c: AbstractCanvas2D
    • x: number
    • y: number
    • w: number
    • h: number

    Returns void

    Inherited from RectangleShape.configureCanvas

    • Defined in view/shape/Shape.ts:686

create

  • create(): SVGGElement

    Creates and returns the DOM node for the shape. This implementation assumes that maxGraph produces SVG elements.

    Returns SVGGElement

    Inherited from RectangleShape.create

    • Defined in view/shape/Shape.ts:352

createBoundingBox

  • createBoundingBox(): Rectangle | null

    Returns a new rectangle that represents the bounding box of the bare shape with no shadows or strokewidths.

    Returns Rectangle | null

    Inherited from RectangleShape.createBoundingBox

    • Defined in view/shape/Shape.ts:1088

createCanvas

  • createCanvas(): SvgCanvas2D | null

    Creates a new canvas for drawing this shape. May return null.

    Returns SvgCanvas2D | null

    Inherited from RectangleShape.createCanvas

    • Defined in view/shape/Shape.ts:494

createSvgCanvas

  • createSvgCanvas(): SvgCanvas2D | null

    Creates and returns an SvgCanvas2D for rendering this shape.

    Returns SvgCanvas2D | null

    Inherited from RectangleShape.createSvgCanvas

    • Defined in view/shape/Shape.ts:531

createTransparentSvgRectangle

  • createTransparentSvgRectangle(
        x: number,
        y: number,
        w: number,
        h: number,
    ): SVGRectElement

    Adds a transparent rectangle that catches all events.

    Parameters

    • x: number
    • y: number
    • w: number
    • h: number

    Returns SVGRectElement

    Inherited from RectangleShape.createTransparentSvgRectangle

    • Defined in view/shape/Shape.ts:1174

destroy

  • destroy(): void

    Destroys the shape by removing it from the DOM and releasing the DOM node associated with the shape using Event#release.

    Returns void

    Inherited from RectangleShape.destroy

    • Defined in view/shape/Shape.ts:1220

destroyCanvas

  • destroyCanvas(canvas: AbstractCanvas2D): void

    Destroys the given canvas which was used for drawing. This implementation increments the reference counts on all shared gradients used in the canvas.

    Parameters

    • canvas: AbstractCanvas2D

    Returns void

    Inherited from RectangleShape.destroyCanvas

    • Defined in view/shape/Shape.ts:562

getArcSize

  • getArcSize(w: number, h: number): number

    Returns the arc size for the given dimension.

    Parameters

    • w: number
    • h: number

    Returns number

    Inherited from RectangleShape.getArcSize

    • Defined in view/shape/Shape.ts:791

ProtectedgetBaseArcSize

  • getBaseArcSize(): number

    Base arc size for the shape, taken from the style.

    Returns number

    Since

    0.21.0

    Inherited from RectangleShape.getBaseArcSize

    • Defined in view/shape/Shape.ts:784

getCursor

  • getCursor(): string

    Returns the current cursor.

    Returns string

    Inherited from RectangleShape.getCursor

    • Defined in view/shape/Shape.ts:1033

getGradientBounds

  • getGradientBounds(
        c: AbstractCanvas2D,
        x: number,
        y: number,
        w: number,
        h: number,
    ): Rectangle

    Returns the bounding box for the gradient box for this shape.

    Parameters

    • c: AbstractCanvas2D
    • x: number
    • y: number
    • w: number
    • h: number

    Returns Rectangle

    Inherited from RectangleShape.getGradientBounds

    • Defined in view/shape/Shape.ts:732

getLabelBounds

  • getLabelBounds(rect: Rectangle): Rectangle

    Returns the Rectangle for the label bounds of this shape, based on the given scaled and translated bounds of the shape. This method should not change the rectangle in-place. This implementation returns the given rect.

    Parameters

    • rect: Rectangle

    Returns Rectangle

    Inherited from RectangleShape.getLabelBounds

    • Defined in view/shape/Shape.ts:401

getLabelMargins

  • getLabelMargins(rect: Rectangle | null): Rectangle | null

    Returns the scaled top, left, bottom and right margin to be used for computing the label bounds as an Rectangle, where the bottom and right margin are defined in the width and height of the rectangle, respectively.

    Parameters

    • rect: Rectangle | null

    Returns Rectangle | null

    Inherited from RectangleShape.getLabelMargins

    • Defined in view/shape/Shape.ts:446

getRotation

  • getRotation(): number

    Returns the rotation from the style.

    Returns number

    Inherited from RectangleShape.getRotation

    • Defined in view/shape/Shape.ts:1126

getShapeRotation

  • getShapeRotation(): number

    Returns the actual rotation of the shape.

    Returns number

    Inherited from RectangleShape.getShapeRotation

    • Defined in view/shape/Shape.ts:1146

getSvgScreenOffset

  • getSvgScreenOffset(): number

    Disables offset in IE9 for crisper image output.

    Returns number

    Overrides RectangleShape.getSvgScreenOffset

    • Defined in view/shape/node/ImageShape.ts:54

getTextRotation

  • getTextRotation(): number

    Returns the rotation for the text label.

    Returns number

    Inherited from RectangleShape.getTextRotation

    • Defined in view/shape/Shape.ts:1133

init

  • init(container: HTMLElement | SVGElement): void

    Initializes the shape by adding it into the given container if the node of the shape doesn't already have a parent.

    Parameters

    • container: HTMLElement | SVGElement

      DOM node that will contain the shape.

    Returns void

    Inherited from RectangleShape.init

    • Defined in view/shape/Shape.ts:310

initStyles

  • initStyles(): void

    Sets the styles to their default values.

    Returns void

    Inherited from RectangleShape.initStyles

    • Defined in view/shape/Shape.ts:319

isHtmlAllowed

  • isHtmlAllowed(): boolean

    Returns true for non-rounded, non-rotated shapes with no glass gradient.

    Returns boolean

    Overrides RectangleShape.isHtmlAllowed

    • Defined in view/shape/node/ImageShape.ts:80

isPaintBoundsInverted

  • isPaintBoundsInverted(): boolean

    Returns true if the bounds should be inverted.

    Returns boolean

    Inherited from RectangleShape.isPaintBoundsInverted

    • Defined in view/shape/Shape.ts:1118

isRoundable

  • isRoundable(
        c: AbstractCanvas2D,
        x: number,
        y: number,
        w: number,
        h: number,
    ): boolean

    Disables inherited roundable support.

    Parameters

    • c: AbstractCanvas2D
    • x: number
    • y: number
    • w: number
    • h: number

    Returns boolean

    Overrides RectangleShape.isRoundable

    • Defined in view/shape/node/ImageShape.ts:87

paint

  • paint(c: AbstractCanvas2D): void

    Generic rendering code.

    Parameters

    • c: AbstractCanvas2D

    Returns void

    Inherited from RectangleShape.paint

    • Defined in view/shape/Shape.ts:596

paintBackground

  • paintBackground(
        c: AbstractCanvas2D,
        x: number,
        y: number,
        w: number,
        h: number,
    ): void

    Generic background painting implementation.

    Parameters

    • c: AbstractCanvas2D
    • x: number
    • y: number
    • w: number
    • h: number

    Returns void

    Inherited from RectangleShape.paintBackground

    • Defined in view/shape/node/RectangleShape.ts:62

paintEdgeShape

  • paintEdgeShape(c: AbstractCanvas2D, pts: Point[]): void

    Hook for subclassers. This implementation is empty.

    Parameters

    • c: AbstractCanvas2D
    • pts: Point[]

    Returns void

    Inherited from RectangleShape.paintEdgeShape

    • Defined in view/shape/Shape.ts:776

paintForeground

  • paintForeground(
        c: AbstractCanvas2D,
        x: number,
        y: number,
        w: number,
        h: number,
    ): void

    Generic background painting implementation.

    Parameters

    • c: AbstractCanvas2D
    • x: number
    • y: number
    • w: number
    • h: number

    Returns void

    Inherited from RectangleShape.paintForeground

    • Defined in view/shape/node/RectangleShape.ts:101

paintGlassEffect

  • paintGlassEffect(
        c: AbstractCanvas2D,
        x: number,
        y: number,
        w: number,
        h: number,
        arc: number,
    ): void

    Paints the glass gradient effect.

    Parameters

    • c: AbstractCanvas2D
    • x: number
    • y: number
    • w: number
    • h: number
    • arc: number

    Returns void

    Inherited from RectangleShape.paintGlassEffect

    • Defined in view/shape/Shape.ts:803

paintVertexShape

  • paintVertexShape(
        c: AbstractCanvas2D,
        x: number,
        y: number,
        w: number,
        h: number,
    ): void

    Generic background painting implementation.

    Parameters

    • c: AbstractCanvas2D
    • x: number
    • y: number
    • w: number
    • h: number

    Returns void

    Overrides RectangleShape.paintVertexShape

    • Defined in view/shape/node/ImageShape.ts:94

redraw

  • redraw(): void

    Returns void

    Inherited from RectangleShape.redraw

    • Defined in view/shape/Shape.ts:356

redrawHtmlShape

  • redrawHtmlShape(): void

    Returns void

    Inherited from RectangleShape.redrawHtmlShape

    • Defined in view/shape/Shape.ts:1186

redrawShape

  • redrawShape(): void

    Updates the SVG or VML shape.

    Returns void

    Inherited from RectangleShape.redrawShape

    • Defined in view/shape/Shape.ts:471

releaseSvgGradients

  • releaseSvgGradients(grads: GradientMap): void

    Paints the line shape.

    Parameters

    • grads: GradientMap

    Returns void

    Inherited from RectangleShape.releaseSvgGradients

    • Defined in view/shape/Shape.ts:1202

resetStyles

  • resetStyles(): void

    Resets all styles.

    Returns void

    Inherited from RectangleShape.resetStyles

    • Defined in view/shape/Shape.ts:932

setCursor

  • setCursor(cursor: string): void

    Sets the cursor on the given shape.

    Parameters

    • cursor: string

      The cursor to be used.

    Returns void

    Inherited from RectangleShape.setCursor

    • Defined in view/shape/Shape.ts:1025

setTransparentBackgroundImage

  • setTransparentBackgroundImage(node: SVGElement): void

    Sets a transparent background CSS style to catch all events.

    Paints the line shape.

    Parameters

    • node: SVGElement

    Returns void

    Inherited from RectangleShape.setTransparentBackgroundImage

    • Defined in view/shape/Shape.ts:1195

updateBoundingBox

  • updateBoundingBox(): void

    Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.

    Returns void

    Inherited from RectangleShape.updateBoundingBox

    • Defined in view/shape/Shape.ts:1048

updateBoundsFromPoints

  • updateBoundsFromPoints(): void

    Updates the bounds based on the points.

    Returns void

    Inherited from RectangleShape.updateBoundsFromPoints

    • Defined in view/shape/Shape.ts:382

updateTransform

  • updateTransform(
        c: AbstractCanvas2D,
        x: number,
        y: number,
        w: number,
        h: number,
    ): void

    Sets the scale and rotation on the given canvas.

    Parameters

    • c: AbstractCanvas2D
    • x: number
    • y: number
    • w: number
    • h: number

    Returns void

    Inherited from RectangleShape.updateTransform

    • Defined in view/shape/Shape.ts:739

Settings

Member Visibility
  • Protected
  • Inherited
Theme

On This Page

Constructors
constructor
Properties
antiAliasboundingBoxboundscursordialectdirectionendArrowendSizefillfillOpacityflipHflipVglassgradientgradientDirectionimageimageSrcindicatorindicatorColorindicatorDirectionindicatorGradientColorindicatorImageSrcindicatorShapeindicatorStrokeColorisDashedisRoundedisShadowminSvgStrokeWidthnodeoldGradientsopacityoriginalPointerEventsoutlineoverlaypointerEventspointspreserveImageAspectrotationscaleshadowshapePointerEventsspacingstartArrowstartSizestatestencilstencilPointerEventsstrokestrokeOpacitystrokeWidthstylesvgPointerEventssvgStrokeToleranceuseSvgBoundingBoxverticalTextRotationvisible
Methods
addPointsafterPaintapplyaugmentBoundingBoxbeforePaintcheckBoundsclearconfigureCanvascreatecreateBoundingBoxcreateCanvascreateSvgCanvascreateTransparentSvgRectangledestroydestroyCanvasgetArcSizegetBaseArcSizegetCursorgetGradientBoundsgetLabelBoundsgetLabelMarginsgetRotationgetShapeRotationgetSvgScreenOffsetgetTextRotationinitinitStylesisHtmlAllowedisPaintBoundsInvertedisRoundablepaintpaintBackgroundpaintEdgeShapepaintForegroundpaintGlassEffectpaintVertexShaperedrawredrawHtmlShaperedrawShapereleaseSvgGradientsresetStylessetCursorsetTransparentBackgroundImageupdateBoundingBoxupdateBoundsFromPointsupdateTransform
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.