コード例 #1
0
 public PgStyleObjectM GetStyleInstance(SourceCosmetic.Model.CosmeticStyleType type)
 {
     return(new PgStyleObjectM(type)
     {
         BrushBgColor = BrushBgColor,
         BrushFgColor = BrushFgColor,
         BrushHatch = BrushHatch,
         BrushStyle = BrushStyle,
         FontColor = FontColor,
         FontFrameColor = FontFrameColor,
         FontName = FontName,
         FontSize = FontSize,
         PenColor = PenColor,
         PenType = PenType,
         PenWidth = PenWidth,
         Symbol = Symbol,
         Opacity = Opacity
     });
 }
コード例 #2
0
 public PgStyleObjectM(SourceCosmetic.Model.CosmeticStyleType type)
 {
     this._cosmeticStyleType = type;
 }
コード例 #3
0
 public PgStyleLayerM(SourceCosmetic.Model.CosmeticStyleType cosmeticStyleType)
 {
     _cosmeticStyleType = cosmeticStyleType;
 }