Method function IGDIPlus.IGPAdjustableArrowCap.GetMiddleInset() : Single

From Mitov Wiki Doc
Revision as of 17:19, 18 October 2012 by David Alm (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: IGPAdjustableArrowCap

Contents

Syntax

Delphi:

function GetMiddleInset() : Single;

C++ Builder:

float __fastcall GetMiddleInset();

Visual C++ (MFC):

GetMiddleInset();

Summary

Returns the value of the inset.

Description

Call this method to get the value of the inset. The middle inset is the number of units that the midpoint of the base shifts towards the vertex. Remarks The middle inset is the number of units that the midpoint of the base shifts towards the vertex. A middle inset of zero results in no shift — the base is a straight line, giving the arrow a triangular shape. A positive (greater than zero) middle inset results in a shift the specified number of units toward the vertex — the base is an arrow shape that points toward the vertex, giving the arrow cap a V-shape. A negative (less than zero) middle inset results in a shift the specified number of units away from the vertex — the base becomes an arrow shape that points away from the vertex, giving the arrow either a diamond shape (if the absolute value of the middle inset is equal to the height) or distorted diamond shape. If the middle inset is equal to or greater than the height of the arrow cap, the cap does not appear at all. The value of the middle inset affects the arrow cap only if the arrow cap is filled. The middle inset defaults to zero when an TGPAdjustableArrowCap object is constructed.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox