git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git]
/
docs
/
source
/
Mask.html
diff --git
a/docs/source/Mask.html
b/docs/source/Mask.html
index
f9a0ee6
..
6bcaeb8
100644
(file)
--- a/
docs/source/Mask.html
+++ b/
docs/source/Mask.html
@@
-3,8
+3,8
@@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
- <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="../prettify/prettify.js"></script>
+ <link href="../
resources/
prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../
resources/
prettify/prettify.js"></script>
<style type="text/css">
.highlight { display: block; background-color: #ddd; }
</style>
<style type="text/css">
.highlight { display: block; background-color: #ddd; }
</style>
@@
-15,8
+15,8
@@
</script>
</head>
<body onload="prettyPrint(); highlight();">
</script>
</head>
<body onload="prettyPrint(); highlight();">
- <pre class="prettyprint lang-js"><span id='Ext-chart-Mask
-method-constructor'><span id='Ext-chart-Mask
'>/**
-</span>
</span>
* @class Ext.chart.Mask
+ <pre class="prettyprint lang-js"><span id='Ext-chart-Mask'>/**
+</span> * @class Ext.chart.Mask
*
* Defines a mask for a chart's series.
* The 'chart' member must be set prior to rendering.
*
* Defines a mask for a chart's series.
* The 'chart' member must be set prior to rendering.
@@
-48,9
+48,13
@@
* a handle to a mask instance from the chart object. The `chart.mask` element is a
* `Ext.Panel`.
*
* a handle to a mask instance from the chart object. The `chart.mask` element is a
* `Ext.Panel`.
*
- * @constructor
*/
Ext.define('Ext.chart.Mask', {
*/
Ext.define('Ext.chart.Mask', {
+ require: ['Ext.chart.MaskLayer'],
+<span id='Ext-chart-Mask-method-constructor'> /**
+</span> * Creates new Mask.
+ * @param {Object} config (optional) Config object.
+ */
constructor: function(config) {
var me = this;
constructor: function(config) {
var me = this;
@@
-193,12
+197,7
@@
Ext.define('Ext.chart.Mask', {
width: abs(width),
height: abs(height)
};
width: abs(width),
height: abs(height)
};
- me.mask.updateBox({
- x: posX - abs(width),
- y: posY - abs(height),
- width: abs(width),
- height: abs(height)
- });
+ me.mask.updateBox(me.maskSelection);
me.mask.show();
me.maskSprite.setAttributes({
hidden: true
me.mask.show();
me.maskSprite.setAttributes({
hidden: true