Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

How to change rotate adornment position

$
0
0

@ahmetgundogdu wrote:

I want to put a gojs arrow object where the arrow is located.
But i not changed position for default rotation template.
i use this template:

const nodeRotateAdornmentTemplate = goMake(go.Adornment,
{ locationSpot: go.Spot.Right, locationObjectName: “CIRCLE” },
goMake(go.Shape, “Circle”, { name: “CIRCLE”, cursor: “pointer”, desiredSize: new go.Size(7, 7), fill: “lightblue”, stroke: “deepskyblue” }),
goMake(go.Shape, { geometryString: “M3.5 7 L3.5 30”, isGeometryPositioned: true, stroke: “deepskyblue”, strokeWidth: 1.5, strokeDashArray: [4, 2] })
);

rotation_template

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles