root/as3/gunyarapaint/branches/gunyarapaint/framework/src/org/libspark/gunyarapaint/framework/commands/LineCommand.as

リビジョン 3574, 0.8 kB (コミッタ: hkrn, コミット時期: 3 年 前)

use uint (primitive type) instead of using Point class

Line 
1 package org.libspark.gunyarapaint.framework.commands
2 {
3     import flash.geom.Point;
4    
5     /**
6      * @private
7      *
8      */
9     internal class LineCommand
10     {
11         public function LineCommand()
12         {
13             reset();
14         }
15        
16         public function reset():void
17         {
18             m_compressedValue = 0;
19             s_readCoordinateX = 0;
20             s_readCoordinateY = 0;
21             s_writeCoordinateX = 0;
22             s_writeCoordinateY = 0;
23         }
24        
25         public function set compressedValue(value:int):void
26         {
27             m_compressedValue = value;
28         }
29        
30         protected var s_readCoordinateX:int;
31         protected var s_readCoordinateY:int;
32         protected var s_writeCoordinateX:int;
33         protected var s_writeCoordinateY:int;
34         protected var m_compressedValue:int;
35     }
36 }
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。