GetElementOutlineColor() публичный Метод

public GetElementOutlineColor ( ) : Color
Результат Color
Пример #1
0
 private void UpdatePanelColors(ProjectLayoutElement zElement)
 {
     if (zElement != ElementManager.Instance.GetSelectedElement())
     {
         return;
     }
     panelBorderColor.BackColor = zElement.GetElementBorderColor();
     panelOutlineColor.BackColor = zElement.GetElementOutlineColor();
     panelShapeColor.BackColor = zElement.GetElementColor();
     panelFontColor.BackColor = panelShapeColor.BackColor;
 }
Пример #2
0
        public static void DrawOutline(ProjectLayoutElement zElement, Graphics zGraphics, GraphicsPath zPath)
        {
            // draw the outline
            if (0 < zElement.outlinethickness)
            {
                var outlinePen = new Pen(Color.FromArgb(zElement.opacity, zElement.GetElementOutlineColor()),
                    zElement.outlinethickness)
                {
                    LineJoin = LineJoin.Round
                };
#warning This outline pen linejoin should be customizable (as it rounds the corners but corrects other issues!)
                zGraphics.DrawPath(outlinePen, zPath);
            }
        }
Пример #3
0
 public static void DrawOutline(ProjectLayoutElement zElement, Graphics zGraphics, GraphicsPath zPath)
 {
     // draw the outline
     if (0 < zElement.outlinethickness)
     {
         var outlinePen = new Pen(Color.FromArgb(zElement.opacity, zElement.GetElementOutlineColor()), zElement.outlinethickness);
         zGraphics.DrawPath(outlinePen, zPath);
     }
 }
Пример #4
0
 private void UpdatePanelColors(ProjectLayoutElement zElement)
 {
     if (zElement != MDILayoutControl.Instance.GetSelectedLayoutElement()) return;
     panelBorderColor.BackColor = zElement.GetElementBorderColor();
     panelOutlineColor.BackColor = zElement.GetElementOutlineColor();
     panelShapeColor.BackColor = zElement.GetElementColor();
     panelFontColor.BackColor = panelShapeColor.BackColor;
 }