IGeometryHost.UpdateGeometryLuminosity Method

Definition

Overloads

UpdateGeometryLuminosity(DiagramClientView, Brush)

Modifies the luminosity of the specified brush.

UpdateGeometryLuminosity(DiagramClientView, Pen)

Modifies the luminosity of the specified pen.

UpdateGeometryLuminosity(DiagramClientView, Brush)

Modifies the luminosity of the specified brush.

public:
 System::Drawing::Color UpdateGeometryLuminosity(Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view, System::Drawing::Brush ^ brush);
public System.Drawing.Color UpdateGeometryLuminosity (Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view, System.Drawing.Brush brush);
abstract member UpdateGeometryLuminosity : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * System.Drawing.Brush -> System.Drawing.Color
Public Function UpdateGeometryLuminosity (view As DiagramClientView, brush As Brush) As Color

Parameters

view
DiagramClientView

The DiagramClientView which may maintain useful highlighting information.

brush
Brush

The brush whose luminosity is to be updated.

Returns

Applies to

UpdateGeometryLuminosity(DiagramClientView, Pen)

Modifies the luminosity of the specified pen.

public:
 System::Drawing::Color UpdateGeometryLuminosity(Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view, System::Drawing::Pen ^ pen);
public System.Drawing.Color UpdateGeometryLuminosity (Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view, System.Drawing.Pen pen);
abstract member UpdateGeometryLuminosity : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * System.Drawing.Pen -> System.Drawing.Color
Public Function UpdateGeometryLuminosity (view As DiagramClientView, pen As Pen) As Color

Parameters

view
DiagramClientView

The DiagramClientView which may maintain useful highlighting information.

pen
Pen

The pen whose luminosity is to be updated.

Returns

Applies to