ShapeElement.GetShapeLuminosity(DiagramClientView, Color) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calculates shape's luminosity based on current color's luminosity, and whether or not it's in the highlight list.
public:
virtual System::Drawing::Color GetShapeLuminosity(Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view, System::Drawing::Color color);
public virtual System.Drawing.Color GetShapeLuminosity (Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view, System.Drawing.Color color);
abstract member GetShapeLuminosity : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * System.Drawing.Color -> System.Drawing.Color
override this.GetShapeLuminosity : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * System.Drawing.Color -> System.Drawing.Color
Public Overridable Function GetShapeLuminosity (view As DiagramClientView, color As Color) As Color
Parameters
- view
- DiagramClientView
Current DiagramClientView to query for highlighting.
- color
- Color
Color to update.
Returns
Updated color.