ShapeElement.GetShapeLuminosity Method
Calculates the luminosity of the shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public virtual Color GetShapeLuminosity( DiagramClientView view, Color color )
Parameters
- view
- Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The diagram view.
- color
- Type: System.Drawing.Color
The color of the shape.
- 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.