ylegendright.as
来自「Open Flash Chart is a program for creati」· AS 代码 · 共 16 行
AS
16 行
package elements.labels {
public class YLegendRight extends YLegendBase {
public function YLegendRight( json:Object ) {
super( json, 'y2' );
}
public override function resize():void {
if ( this.numChildren == 0 )
return;
this.y = (this.stage.stageHeight/2)+(this.getChildAt(0).height/2);
this.x = this.stage.stageWidth-this.getChildAt(0).width;
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?