ShapeElement.ModifyLuminosity(Int32, DiagramClientView) 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 highlight luminosity based on: if L >= 160, then L = L * 0.9 else, L += 40.
protected:
virtual int ModifyLuminosity(int currentLuminosity, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
protected virtual int ModifyLuminosity (int currentLuminosity, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
abstract member ModifyLuminosity : int * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> int
override this.ModifyLuminosity : int * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> int
Protected Overridable Function ModifyLuminosity (currentLuminosity As Integer, view As DiagramClientView) As Integer
Parameters
- currentLuminosity
- Int32
Current luminosity
- view
- DiagramClientView
Returns
New luminosity value.