Example #1
0
 public static bool HasTextSettings(this TextDrawSettingsModel model)
 {
     return(model.HasStereotype("Text Settings"));
 }
Example #2
0
        public static PositionSettings GetPositionSettings(this TextDrawSettingsModel model)
        {
            var stereotype = model.GetStereotype("Position Settings");

            return(stereotype != null ? new PositionSettings(stereotype) : null);
        }
Example #3
0
        public static TextSettings GetTextSettings(this TextDrawSettingsModel model)
        {
            var stereotype = model.GetStereotype("Text Settings");

            return(stereotype != null ? new TextSettings(stereotype) : null);
        }
Example #4
0
 public bool Equals(TextDrawSettingsModel other)
 {
     return(Equals(_element, other?._element));
 }