Export (0) Print
Expand All

AdjustableArrowCap class

Applies to: desktop apps only

The AdjustableArrowCap class is a subclass of the CustomLineCap. This class builds a line cap that looks like an arrow.

Members

The AdjustableArrowCap class inherits from CustomLineCap. AdjustableArrowCap also has these types of members:

Constructors

The AdjustableArrowCap class has these constructors.

ConstructorDescription
AdjustableArrowCap::AdjustableArrowCap

Creates an adjustable arrow line cap with the specified height and width. The arrow line cap can be filled or nonfilled. The middle inset defaults to zero.

 

Methods

The AdjustableArrowCap class has these methods.

MethodDescription
AdjustableArrowCap::GetHeight

The AdjustableArrowCap::GetHeight method gets the height of the arrow cap. The height is the distance from the base of the arrow to its vertex.

AdjustableArrowCap::GetMiddleInset

The AdjustableArrowCap::GetMiddleInset method gets the value of the inset. The middle inset is the number of units that the midpoint of the base shifts towards the vertex.

AdjustableArrowCap::GetWidth

The AdjustableArrowCap::GetWidth method gets the width of the arrow cap. The width is the distance between the endpoints of the base of the arrow.

AdjustableArrowCap::IsFilled

The AdjustableArrowCap::IsFilled method determines whether the arrow cap is filled.

AdjustableArrowCap::SetFillState

The AdjustableArrowCap::SetFillState method sets the fill state of the arrow cap. If the arrow cap is not filled, only the outline is drawn.

AdjustableArrowCap::SetHeight

The AdjustableArrowCap::SetHeight method sets the height of the arrow cap. This is the distance from the base of the arrow to its vertex.

AdjustableArrowCap::SetMiddleInset

The AdjustableArrowCap::SetMiddleInset method sets the number of units that the midpoint of the base shifts towards the vertex.

AdjustableArrowCap::SetWidth

The AdjustableArrowCap::SetWidth method sets the width of the arrow cap. The width is the distance between the endpoints of the base of the arrow.

 

Remarks

A line cap is the shape on the end of a line. Use the Pen::SetCustomStartCap and Pen::SetCustomEndCap methods to associate an AdjustableArrowCap object with a Pen object.

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft