次の方法で共有


ShapeElement.ModifyLuminosity(Int32, DiagramClientView) Method

Definition

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

Returns

New luminosity value.

Applies to