예제 #1
0
 public TileText(
     string text,
     int fontSize,
     TileSize backgroundSize,
     Color backgroundColor,
     TileAlignment alignment,
     TilePosition position,
     int marginHorizontal,
     int marginVertical,
     bool visible)
 {
     Text             = text;
     FontSize         = fontSize;
     BackgroundSize   = backgroundSize;
     BackgroundColor  = backgroundColor;
     Alignment        = alignment;
     Position         = position;
     MarginHorizontal = marginHorizontal;
     MarginVertical   = marginVertical;
     Visible          = visible;
 }
예제 #2
0
 public TileIcon(
     string name,
     TileSize backgroundSize,
     Color backgroundColor,
     string folder,
     int iconSize,
     TileAlignment alignment,
     TilePosition position,
     int marginHorizontal,
     int marginVertical,
     bool visible)
 {
     Name             = name;
     BackgroundSize   = backgroundSize;
     BackgroundColor  = backgroundColor;
     Folder           = folder;
     Size             = iconSize;
     Alignment        = alignment;
     Position         = position;
     MarginHorizontal = marginHorizontal;
     MarginVertical   = marginVertical;
     Visible          = visible;
 }