dojox
»
gfx
»
Line
» _renderShape
dojox.gfx.Line._renderShape
dojo.require("dojox.gfx.canvas");
defined in dojox/gfx/canvas.js
Usage
function (/*
Object
*/ ctx)
(view source)
var
s =
this
.
shape
; ctx.
beginPath
(
)
; ctx.
moveTo
(
s.
x1
, s.
y1
)
; ctx.
lineTo
(
s.
x2
, s.
y2
)
;
parameter
type
description
ctx
Object