Beispiel #1
0
 public AppearanceItemFont(AppearanceState state, int priority, IModelAppearanceFont modelAppearanceFont)
     : base(state, priority)
 {
     if (state == AppearanceState.CustomValue)
     {
         _modelAppearanceFont = modelAppearanceFont;
     }
 }
 public AppearanceItemFont(AppearanceState state, int priority, IModelAppearanceFont modelAppearanceFont)
     : base(state, priority) {
     if (state == AppearanceState.CustomValue) {
         _modelAppearanceFont = modelAppearanceFont;
     }
 }
Beispiel #3
0
 public static IEnumerable <string> Get_FontNames(IModelAppearanceFont appearanceFont)
 {
     return(FontFamily.Families.Select(family => family.Name));
 }
Beispiel #4
0
        private Font GetFont(IModelAppearanceFont modelAppearanceFont, Font font)
        {
            var fontBuilder = new FontBuilder(modelAppearanceFont, font);

            return(fontBuilder.GetFont());
        }
Beispiel #5
0
 public static IEnumerable<string> Get_FontNames(IModelAppearanceFont appearanceFont) {
     return FontFamily.Families.Select(family => family.Name);
 }
Beispiel #6
0
 public FontBuilderSynch(IModelAppearanceFont modelAppearanceFont, Font font, Func <ModelNode, ModelValueInfo, object> getApplyModelNodeValue) : base(modelAppearanceFont, font)
 {
     _getApplyModelNodeValue = getApplyModelNodeValue;
 }
Beispiel #7
0
 public FontBuilder(IModelAppearanceFont modelAppearanceFont, Font font)
 {
     _modelAppearanceFont = modelAppearanceFont;
     _font = font;
 }