Пример #1
0
 public Movie(int width, int height, RGB backColor)
 {
     this.BackColor = backColor;
     this.Height = height;
     this.Width = width;
     this.Frames = new FrameArray();
 }
Пример #2
0
 public CXFORM(RGB AddColor, RGB MultColor)
     : base(-1)
 {
     this.hasAdd = false;
     this.hasMult = false;
     this.hasAdd = true;
     this.hasMult = true;
     this.aR = AddColor.Red;
     this.aG = AddColor.Green;
     this.aB = AddColor.Blue;
     this.mR = MultColor.Red;
     this.mG = MultColor.Green;
     this.mB = MultColor.Blue;
 }
Пример #3
0
 public void AddColor(RGB Color, int Position)
 {
     if (Position > 0xff)
     {
         Position = 0xff;
     }
     if (Position < 0)
     {
         Position = 0;
     }
     if (base.Count <= 7)
     {
         this.Add(new GradRecord(Position, Color));
     }
 }
Пример #4
0
 public TagDefineEditText(SwfFont font, int height, RECT Bounds, string text)
     : base(0x25)
 {
     this.VarName = string.Empty;
     this.Text = string.Empty;
     this.Selectable = false;
     this.HasBorder = false;
     this.ReadOnly = true;
     this.WordWrap = false;
     this.Multitile = false;
     this.PasswordFiled = false;
     this.TextColor = new RGB(0, 0, 0);
     this.Height = 200;
     this._Bounds = Bounds;
     this.Height = height;
     this.FontID = font.FontID;
     this.Text = text;
 }
Пример #5
0
 public LineStyle(RGB color, int width)
 {
     this.Width = width;
     this.Color = color;
 }
Пример #6
0
 public FillStyle(RGB SolidFillColor)
 {
     this._SolidColor = SolidFillColor;
     this._Type = FillStyleType.Solid;
 }
Пример #7
0
 public GradRecord(int Ratio, RGB Color)
 {
     this.Add(new UI8(Ratio));
     this.Add(Color);
 }
Пример #8
0
 public TagBgColor(RGB Color)
     : base(9)
 {
     this.Add(Color);
 }