示例#1
0
        public override Appearence FromData(AppearenceData data)
        {
            PlainTextData _data = data as PlainTextData;

            return(new PlainText(_data.AutoSize, _data.Text, _data.Color, _data.Alignment, _data.OffsetX, _data.OffsetY));
        }
 public override Appearence FromData(AppearenceData data)
 {
     return(null);
 }
示例#3
0
 public override Appearence FromData(AppearenceData data)
 {
     PlainTextData _data = data as PlainTextData;
     return new PlainText(_data.AutoSize, _data.Text, _data.Color, _data.Alignment, _data.OffsetX, _data.OffsetY);
 }
示例#4
0
 public override Appearence FromData(AppearenceData data)
 {
     PlainBorderData _data = data as PlainBorderData;
     return new PlainBorder(_data.BorderWidth, _data.Color);
 }
示例#5
0
 public override Appearence FromData(AppearenceData data)
 {
     PictureData _data = data as PictureData;
     return new Picture(_data.FilePath);
 }
示例#6
0
        public override Appearence FromData(AppearenceData data)
        {
            PlainBackgroundData bdata = data as PlainBackgroundData;

            return(new PlainBackground(bdata.Color));
        }
示例#7
0
 public override Appearence FromData(AppearenceData data)
 {
     PlainBackgroundData bdata = data as PlainBackgroundData;
     return new PlainBackground(bdata.Color);
 }
示例#8
0
        public override Appearence FromData(AppearenceData data)
        {
            PictureData _data = data as PictureData;

            return(new Picture(_data.FilePath));
        }
示例#9
0
 public override Appearence FromData(AppearenceData data)
 {
     return null;
 }