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

Auto Alignment of TextBlock at the center but within boundaries

$
0
0

@Abhishek wrote:

I have a polygonal group for which I want its TextBlock to stay at the calculated center but within boundaries at all times, basically while creating and resizing.
Currently I have fixed it at the center but can be outside in odd shapes.

If a logical center inside boundaries is too typical to calculate, i can imagine it being anywhere but necessarily inside boundaries.

It happens something in the below situation -

image

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles