ShapeElement::ModifyLuminosity Method (Int32, DiagramClientView^)
Visual Studio 2015
Calculates the luminosity of the highlight for the shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- currentLuminosity
-
Type:
System::Int32
The current luminosity for the shape.
- view
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramClientView^
The diagram view.
The formula that creates luminosity. By default, the formula is: if luminosity is >= 160, then luminosity = luminosity * 0.9; otherwise, luminosity = luminosity + 40.
Show: