api.nas fix typos
This commit is contained in:
parent
7372eefde8
commit
f8eb701d62
1 changed files with 2 additions and 2 deletions
|
@ -293,7 +293,7 @@ var Element = {
|
|||
setClipByBoundingBox: func(bounding_box, clip_frame = nil) {
|
||||
if (clip_frame == nil)
|
||||
clip_frame = Element.PARENT;
|
||||
me.set("clip", boundingbox2clip(bounding_box));
|
||||
me.set("clip", me.boundingbox2clip(bounding_box));
|
||||
me.set("clip-frame", clip_frame);
|
||||
return me;
|
||||
},
|
||||
|
@ -302,7 +302,7 @@ var Element = {
|
|||
setClipByElement: func(clip_elem) {
|
||||
clip_elem.update();
|
||||
var bounds = clip_elem.getTightBoundingBox();
|
||||
me.setClipByBB(bounds, canvas.Element.PARENT);
|
||||
me.setClipByBoundingBox(bounds, canvas.Element.PARENT);
|
||||
},
|
||||
|
||||
# Internal Transform for convenience transform functions
|
||||
|
|
Loading…
Reference in a new issue