ShapeElement.ModifyLuminosity Method
Calculates the luminosity of the highlight for the shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
protected virtual int ModifyLuminosity( int currentLuminosity, DiagramClientView view )
Parameters
- currentLuminosity
- Type: System.Int32
The current luminosity for the shape.
- view
- Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The diagram view.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.