Name | Description | |
---|---|---|
GoStroke Constructor | The constructor produces a shape whose arrowheads are filled with black and that the user can resize in realtime. |
The following tables list the members exposed by GoStroke.
Name | Description | |
---|---|---|
GoStroke Constructor | The constructor produces a shape whose arrowheads are filled with black and that the user can resize in realtime. |
Name | Description | |
---|---|---|
AddedPoint | This is a Changed subhint. | |
ChangedAddPoint | This is a synonym for AddedPoint. | |
ChangedAllPoints | This is a Changed subhint. | |
ChangedCurviness | This is a Changed subhint identifying changes to the value of the Curviness property. | |
ChangedFromArrowFilled | This is a Changed subhint identifying changes to the value of the FromArrowFilled property. | |
ChangedFromArrowHead | This is a Changed subhint identifying changes to the value of the FromArrow property. | |
ChangedFromArrowLength | This is a Changed subhint identifying changes to the value of the FromArrowLength property. | |
ChangedFromArrowShaftLength | This is a Changed subhint identifying changes to the value of the FromArrowShaftLength property. | |
ChangedFromArrowStyle | This is a Changed subhint identifying changes to the value of the FromArrowStyle property. | |
ChangedFromArrowWidth | This is a Changed subhint identifying changes to the value of the FromArrowWidth property. | |
ChangedHighlight | This is a Changed subhint identifying changes to the value of the Highlight property. | |
ChangedHighlightPen | This is a Changed subhint identifying changes to the value of the HighlightPen property. | |
ChangedHighlightWhenSelected | This is a Changed subhint identifying changes to the value of the HighlightWhenSelected property. | |
ChangedModifiedPoint | This is a synonym for ModifiedPoint. | |
ChangedRemovePoint | This is a synonym for RemovedPoint. | |
ChangedStyle | This is a Changed subhint identifying changes to the value of the Style property. | |
ChangedToArrowFilled | This is a Changed subhint identifying changes to the value of the ToArrowFilled property. | |
ChangedToArrowHead | This is a Changed subhint identifying changes to the value of the ToArrow property. | |
ChangedToArrowLength | This is a Changed subhint identifying changes to the value of the ToArrowLength property. | |
ChangedToArrowShaftLength | This is a Changed subhint identifying changes to the value of the ToArrowShaftLength property. | |
ChangedToArrowStyle | This is a Changed subhint identifying changes to the value of the ToArrowStyle property. | |
ChangedToArrowWidth | This is a Changed subhint identifying changes to the value of the ToArrowWidth property. | |
ModifiedPoint | This is a Changed subhint. | |
RemovedPoint | This is a Changed subhint. |
Name | Description | |
---|---|---|
AutoRescales | Gets or sets whether this object automatically rescales its appearance when its size changes. (Inherited from Northwoods.Go.GoObject) | |
BeingRemoved | Gets whether this object is in the process of being removed from its layer or group. (Inherited from Northwoods.Go.GoObject) | |
Bottom | Gets or sets this object's bottom coordinate. (Inherited from Northwoods.Go.GoObject) | |
Bounds | Whenever the size and/or position is changed, we clear out any cached data. (Inherited from Northwoods.Go.GoShape) | |
Brush | Gets or sets the brush used to fill the outline of this shape. (Inherited from Northwoods.Go.GoShape) | |
BrushColor | Gets or sets the main or background color of the brush. (Inherited from Northwoods.Go.GoShape) | |
BrushFocusScales | Gets or sets the size of the focus area for path gradients, as normalized fractions of the size of the shape. (Inherited from Northwoods.Go.GoShape) | |
BrushForeColor | Gets or sets the foreground color of a brush. (Inherited from Northwoods.Go.GoShape) | |
BrushMidColor | Gets or sets the middle color of a gradient brush. (Inherited from Northwoods.Go.GoShape) | |
BrushMidFraction | Gets or sets the fractional distance between the end colors at which the middle color is drawn. (Inherited from Northwoods.Go.GoShape) | |
BrushPoint | Gets or sets the end point for linear gradients or the focus point for path gradients, as normalized fractions of the size of the shape. (Inherited from Northwoods.Go.GoShape) | |
BrushStartPoint | Gets or sets the start point for linear gradients, as normalized fractions of the size of the shape. (Inherited from Northwoods.Go.GoShape) | |
BrushStyle | Gets or sets the kind of brush used by this shape. (Inherited from Northwoods.Go.GoShape) | |
Center | Gets or sets this object's center position. (Inherited from Northwoods.Go.GoObject) | |
Copyable | Gets or sets whether the user can copy this object. (Inherited from Northwoods.Go.GoObject) | |
Curviness | Gets how rounded the corners are for adjacent line segments when the stroke style is RoundedLine. | |
Deletable | Gets or sets whether the user can delete this object. (Inherited from Northwoods.Go.GoObject) | |
Document | Gets the document that this object belongs to, or null if this is not in a layer or if this is in a view layer. (Inherited from Northwoods.Go.GoObject) | |
DraggingObject | Gets the object that will be dragged instead of this selected object. (Inherited from Northwoods.Go.GoObject) | |
DragsNode | Gets or sets whether this object, when selected and a child of a group, and when dragged, drags the parent node instead. (Inherited from Northwoods.Go.GoObject) | |
Editable | Gets or sets whether the user can edit this object. (Inherited from Northwoods.Go.GoObject) | |
Editor | Gets the GoControl being used to edit this object. (Inherited from Northwoods.Go.GoObject) | |
FirstPickIndex | Gets the index of the first point that should get a selection handle. | |
FromArrow | Gets or sets whether an arrow is drawn at the start of this stroke. | |
FromArrowAnchorPoint | Gets a point which specifies the direction the arrow is coming from. | |
FromArrowEndPoint | Gets the point at the tip of the arrowhead at the start of this stroke. | |
FromArrowFilled | Gets or sets whether the arrowhead at the start of this stroke is filled with the brush. | |
FromArrowLength | Gets or sets the length of the arrowhead at the start of this stroke. | |
FromArrowShaftLength | Gets or sets the length of the shaft of the arrowhead at the start of this stroke. | |
FromArrowStyle | Gets or sets the general shape of an arrowhead at the start of this stroke. | |
FromArrowWidth | Gets or sets the maximum width of the arrowhead at the start of this stroke. | |
Height | Gets or sets this object's height. (Inherited from Northwoods.Go.GoObject) | |
Highlight | Gets or sets whether this stroke displays a highlight along its path. | |
HighlightPen | Gets or sets the pen used to draw a highlight for this stroke. | |
HighlightPenColor | Gets or sets the color of the HighlightPen. | |
HighlightPenWidth | Gets or sets the width of the line drawn as the highlight for the stroke. | |
HighlightWhenSelected | Gets or sets whether the highlight is shown when this stroke becomes selected. | |
Initializing | Gets or sets whether this object is in the process of being initialized. (Inherited from Northwoods.Go.GoObject) | |
IsInDocument | Gets whether this object belongs to a document. (Inherited from Northwoods.Go.GoObject) | |
IsInView | Gets whether this object belongs to a view. (Inherited from Northwoods.Go.GoObject) | |
IsTopLevel | Gets whether this object is a top-level object. (Inherited from Northwoods.Go.GoObject) | |
LastPickIndex | Gets the index of the last point that should get a selection handle. | |
Layer | Gets the layer to which this object belongs. (Inherited from Northwoods.Go.GoObject) | |
Left | Gets or sets this object's left coordinate, the X position. (Inherited from Northwoods.Go.GoObject) | |
Location | Gets or sets this object's natural position. (Inherited from Northwoods.Go.GoObject) | |
Movable | Gets or sets whether the user can move this object. (Inherited from Northwoods.Go.GoObject) | |
Observers | Gets an enumerator over the list of observer objects of this object. (Inherited from Northwoods.Go.GoObject) | |
Parent | Gets the parent group for this object. (Inherited from Northwoods.Go.GoObject) | |
ParentNode | This convenience property gets the highest-level object in the Parent chain that is not a GoSubGraphBase. (Inherited from Northwoods.Go.GoObject) | |
Pen | Gets or sets the pen used to draw the outline of this shape. (Inherited from Northwoods.Go.GoShape) | |
PenColor | Gets or sets the color of the pen. (Inherited from Northwoods.Go.GoShape) | |
PenWidth | Gets or sets the width of the pen. (Inherited from Northwoods.Go.GoShape) | |
PickMargin | Gets the approximate width of the region across the stroke, in addition to the pen width, that is still considered "inside" the stroke when picking. | |
PointsCount | Gets the number of points in this stroke. | |
Position | Gets or sets this object's top-left corner's position. (Inherited from Northwoods.Go.GoObject) | |
Printable | Gets or sets whether the view can print this object. (Inherited from Northwoods.Go.GoObject) | |
Reshapable | Gets or sets whether the user can reshape this object. (Inherited from Northwoods.Go.GoObject) | |
Resizable | Gets or sets whether the user can resize this object. (Inherited from Northwoods.Go.GoObject) | |
ResizesRealtime | Gets or sets whether this object continuously changes its size during a user resizing operation. [In Web Forms there is no continuous visual feedback of a resize.] (Inherited from Northwoods.Go.GoObject) | |
Right | Gets or sets this object's right coordinate. (Inherited from Northwoods.Go.GoObject) | |
Selectable | Gets or sets whether the user can select this object. (Inherited from Northwoods.Go.GoObject) | |
SelectionObject | Gets the object that gets selection handles when this object is selected. (Inherited from Northwoods.Go.GoObject) | |
Shadowed | Gets or sets whether this object is painted with a drop shadow. (Inherited from Northwoods.Go.GoObject) | |
Size | Gets or sets this object's dimensions. (Inherited from Northwoods.Go.GoObject) | |
SkipsUndoManager | Gets or sets whether the UndoManager is notified upon a change to this object. (Inherited from Northwoods.Go.GoObject) | |
Style | Gets or sets the kind of curve drawn using this stroke's points. | |
SuspendsUpdates | Gets or sets whether any document Changed event handlers are called upon a change to this object. (Inherited from Northwoods.Go.GoObject) | |
ToArrow | Gets or sets whether an arrow is drawn at the end of this stroke. | |
ToArrowAnchorPoint | Gets a point which specifies the direction the arrow is coming from. | |
ToArrowEndPoint | Gets the point at the tip of the arrowhead at the end of this stroke. | |
ToArrowFilled | Gets or sets whether the arrowhead at the end of this stroke is filled with the brush. | |
ToArrowLength | Gets or sets the length of the arrowhead at the end of this stroke. | |
ToArrowShaftLength | Gets or sets the length of the shaft of the arrowhead at the end of this stroke. | |
ToArrowStyle | Gets or sets the general shape of an arrowhead at the end of this stroke. | |
ToArrowWidth | Gets or sets the maximum width of the arrowhead at the end of this stroke. | |
Top | Gets or sets this object's top coordinate, the Y position. (Inherited from Northwoods.Go.GoObject) | |
TopLevelObject | Gets the top-level object for this object. (Inherited from Northwoods.Go.GoObject) | |
View | Gets the view that this object belongs to, or null if this is not in a layer or if this is in a document layer. (Inherited from Northwoods.Go.GoObject) | |
Visible | Gets or sets whether the user can see this object. (Inherited from Northwoods.Go.GoObject) | |
Width | Gets or sets this object's width. (Inherited from Northwoods.Go.GoObject) |
Name | Description | |
---|---|---|
InvalidBounds | Gets or sets whether the bounds are up to date. (Inherited from Northwoods.Go.GoObject) |
Name | Description | |
---|---|---|
AddObserver | Register an object as an observer of changes to this object. (Inherited from Northwoods.Go.GoObject) | |
AddPoint | Overloaded. | |
AddSelectionHandles | Overridden. Display the appropriate selected appearance, normally resize selection handles at each point of the stroke. | |
CalculateArrowhead | Modify an array of points to hold the four points of a polygon outlining an arrowhead | |
CanCopy | Called to see if the user can copy this object. (Inherited from Northwoods.Go.GoObject) | |
CanDelete | Called to see if the user can delete this object. (Inherited from Northwoods.Go.GoObject) | |
CanEdit | Called to see if the user can edit this object. (Inherited from Northwoods.Go.GoObject) | |
CanMove | Called to see if the user can move this object. (Inherited from Northwoods.Go.GoObject) | |
CanPrint | Called to see if the view can print this object. (Inherited from Northwoods.Go.GoObject) | |
CanReshape | Called to see if the user can reshape this object. (Inherited from Northwoods.Go.GoObject) | |
CanResize | Called to see if the user can resize this object. (Inherited from Northwoods.Go.GoObject) | |
CanSelect | Called to see if the user can select this object. (Inherited from Northwoods.Go.GoObject) | |
CanView | Called to see if the user can see this object. (Inherited from Northwoods.Go.GoObject) | |
Changed | Notify this object's document or view that some part of this object's state has been changed, via the GoDocument.Changed event and using the GoChangedEventArgs event args class. (Inherited from Northwoods.Go.GoObject) | |
ChangeValue | Overridden. Performs changes for undo and redo. | |
Changing | Notify this object's document or view that some part of this object's state is about to be changed. (Inherited from Northwoods.Go.GoObject) | |
ClearPoints | Remove all of the points for this stroke. | |
ComputeMove | Calculate a new location for this object. (Inherited from Northwoods.Go.GoObject) | |
ComputeResize | Calculate a new bounding rectangle for this object. (Inherited from Northwoods.Go.GoObject) | |
ContainedByRectangle | Consider the Pen width when determining if this shape is inside a rectangle. (Inherited from Northwoods.Go.GoShape) | |
ContainsPoint | Overridden. A point is in a stroke only if it is near one of its segments. | |
Copy | This convenience method just makes a copy of the object itself, using a generic GoCopyDictionary. (Inherited from Northwoods.Go.GoObject) | |
CopyNewValueForRedo | Overridden. Copies state to permit a redo. | |
CopyObject | Overridden. Make sure the cloned stroke does not share any data references with the original stroke. | |
CopyObjectDelayed | For objects that require a second pass to complete the copying, this method is called after the first pass of copying all of the objects in CopyFromCollection(IGoCollection). (Inherited from Northwoods.Go.GoObject) | |
CopyOldValueForUndo | Overridden. Copies state to permit an undo. | |
CopyPointsArray | Returns a copy of the array of points in this stroke. | |
CreateBoundingHandle | Create a bounding handle for this object. (Inherited from Northwoods.Go.GoObject) | |
CreateEditor | Create a GoControl that implements an editor for this object in the given view. (Inherited from Northwoods.Go.GoObject) | |
CreateResizeHandle | Create a resize handle for this object, given a handle ID. (Inherited from Northwoods.Go.GoObject) | |
DoBeginEdit | Start editing this object in the given view. (Inherited from Northwoods.Go.GoObject) | |
DoEndEdit | Stop editing this object in the given view. (Inherited from Northwoods.Go.GoObject) | |
DoMove | Called when a user moves this object. (Inherited from Northwoods.Go.GoObject) | |
DoResize | Overridden. When the resize handles are at each point of the stroke, the user's dragging of a resize handle should just change that point in the stroke. | |
ExpandPaintBounds | Overridden. Consider Pen width, miter limit, drop shadow and highlight in computing the paint bounds. | |
FillDoubleEdge | Overloaded. (Inherited from Northwoods.Go.GoShape) | |
FillEllipseGradient | Overloaded. (Inherited from Northwoods.Go.GoShape) | |
FillHalfGradient | Overloaded. (Inherited from Northwoods.Go.GoShape) | |
FillMiddleGradient | Overloaded. (Inherited from Northwoods.Go.GoShape) | |
FillRectangleGradient | Overloaded. (Inherited from Northwoods.Go.GoShape) | |
FillShadedGradient | Overloaded. (Inherited from Northwoods.Go.GoShape) | |
FillShapeFringe | Overloaded. (Inherited from Northwoods.Go.GoShape) | |
FillShapeGradient | Overloaded. (Inherited from Northwoods.Go.GoShape) | |
FillShapeHighlight | Overloaded. (Inherited from Northwoods.Go.GoShape) | |
FillSimpleGradient | Overloaded. (Inherited from Northwoods.Go.GoShape) | |
FillSingleEdge | Overloaded. (Inherited from Northwoods.Go.GoShape) | |
GetAngle | Return the angle of the line going from the origin to a point. | |
GetArrowheadPointsCount | Gets the number of points to be used in the polygon representing an arrowhead. | |
GetContextMenu | Called to get a GoContextMenu to display for this object. (Inherited from Northwoods.Go.GoObject) | |
GetContextMenuStrip | Called to get a ContextMenuStrip to display for this object. (Inherited from Northwoods.Go.GoObject) | |
GetCursorName | Called by OnMouseOver to determine the cursor, if any, to display over this object. (Inherited from Northwoods.Go.GoObject) | |
GetNearestIntersectionPoint | Overridden. The closest intersection point of a stroke with a line is the closest such point for each of its segments. | |
GetPartInfo | Return a GoPartInfo that describes this object and that can be transmitted to the client (user agent) as JavaScript data structures that can be used by code running on the client. (Inherited from Northwoods.Go.GoObject) | |
GetPoint | Get the point at a particular index. | |
GetRectangleSpotLocation | Get the position of a spot in a rectangle. (Inherited from Northwoods.Go.GoObject) | |
GetSegmentNearPoint | Return the index of the first point of a segment of this stroke that is close to a given point. | |
GetShadowBrush | Get a Brush for painting a drop shadow in the given view. (Inherited from Northwoods.Go.GoObject) | |
GetShadowOffset | Gets the size of a drop shadow for this object in the given view. (Inherited from Northwoods.Go.GoObject) | |
GetShadowPen | Get a Pen for painting a drop shadow in the given view. (Inherited from Northwoods.Go.GoObject) | |
GetSpotLocation | Get the position of a spot on this object. (Inherited from Northwoods.Go.GoObject) | |
GetToolTip | Called to get a String to display as a tooltip for this object. (Inherited from Northwoods.Go.GoObject) | |
InsertPoint | Add a point at a particular index, thereby increasing the number of points by one. | |
InvalidateViews | Cause all views to repaint this object when they get a chance. (Inherited from Northwoods.Go.GoObject) | |
IsChildOf | Determines if this object is a child, perhaps indirectly, of the given object. (Inherited from Northwoods.Go.GoObject) | |
MakePath | Overridden. Returns a GraphicsPath representation of what will be drawn. | |
NearestIntersectionOnLine | Find the intersection point of the finite line segment A-B and the infinite line P-Q that is closest to point P. | |
NearestPointOnLine | Return a point on a straight line segment that is closest to a given point. | |
OnContextClick | Called when the user context clicks on this object. (Inherited from Northwoods.Go.GoObject) | |
OnDoubleClick | Called when the user double clicks on this object. (Inherited from Northwoods.Go.GoObject) | |
OnEnterLeave | Called when the document object immediately under the mouse changes as the mouse moves when no particular tool is running or when the GoToolDragging tool is running. (Inherited from Northwoods.Go.GoObject) | |
OnGotSelection | Called when this object becomes selected. (Inherited from Northwoods.Go.GoObject) | |
OnHover | Called when the user hovers over this object. (Inherited from Northwoods.Go.GoObject) | |
OnLostSelection | Called when this object becomes unselected. (Inherited from Northwoods.Go.GoObject) | |
OnMouseOver | Called when the user moves the mouse over this object when not dragging or resizing. (Inherited from Northwoods.Go.GoObject) | |
OnSelectionDropped | Called after the user has dropped the selection on this object. (Inherited from Northwoods.Go.GoObject) | |
OnSelectionDropReject | Called during a user's drag of the view's Selection when the mouse is over this object, to give this object a chance to veto a drop. (Inherited from Northwoods.Go.GoObject) | |
OnSingleClick | Called when the user single clicks on this object. (Inherited from Northwoods.Go.GoObject) | |
Paint | Overridden. A stroke is drawn as a sequence of straight line segments or Bezier curves, with optional arrows at the ends. | |
Pick | Return an object at a point, perhaps only a selectable one. (Inherited from Northwoods.Go.GoObject) | |
Remove | This convenience method just removes this object from its container, if there is any. (Inherited from Northwoods.Go.GoObject) | |
RemoveObserver | Make sure an object is not an observer of changes to this object. (Inherited from Northwoods.Go.GoObject) | |
RemovePoint | Remove the point at a particular index, thereby reducing the number of points by one. | |
RemoveSelectionHandles | Overridden. Besides removing all selection handles, we also turn off any highlighting if HighlightWhenSelected is true. | |
SetPoint | Replace the point at a particular index; | |
SetPoints | Replace all of the points for this stroke. | |
SetRectangleSpotLocation | Modify a rectangle such that its new spot location is at a given point. (Inherited from Northwoods.Go.GoObject) | |
SetSizeKeepingLocation | Sets a new size for this object while maintaining the same location. (Inherited from Northwoods.Go.GoObject) | |
SetSpotLocation | Overloaded. (Inherited from Northwoods.Go.GoObject) | |
SpotOpposite | Get the spot that is on the opposite side of a given spot. (Inherited from Northwoods.Go.GoObject) |
Name | Description | |
---|---|---|
ComputeBounds | Overridden. The bounding rectangle of a stroke is computed as the smallest rectangle that includes all of the stroke's points. | |
DrawArrowhead | This method is called by Paint to actually draw an arrowhead. | |
GetPath | Gets a cached GraphicsPath produced by a call to MakePath. (Inherited from Northwoods.Go.GoShape) | |
OnBoundsChanged | Overridden. Changing the bounds of a stroke may change all of the stroke's points. | |
OnLayerChanged | Called when this object's layer is changed. (Inherited from Northwoods.Go.GoObject) | |
OnObservedChanged | Called when an observed object has been changed. (Inherited from Northwoods.Go.GoObject) | |
OnParentChanged | Called when this object's parent is changed. (Inherited from Northwoods.Go.GoObject) | |
ResetPath | Clear any cached GraphicsPath . (Inherited from Northwoods.Go.GoShape) |