ShapeElement::GetShapeLuminosity Method (DiagramClientView^, Color)
Visual Studio 2015
Calculates the luminosity of the shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- view
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramClientView^
The diagram view.
- color
-
Type:
System.Drawing::Color
The color of the shape.
Luminosity is based on the current color of the shape and whether the shape is highlighted.
Show: