How to create custom words / speeches?

I am currently working on a project to create comic pages. One of the problems that I encountered is that I cannot find a good way to generate word / speech balloons (see One example in the following). How to create such balloons for a word / speech (for example, an elliptical shape) in C # -XAML? In particular, I want to create it in the user interface so that I can control where the arrow points and where it points (perhaps just by dragging the user interface).

enter image description here

, / , , . , - . , /, .

enter image description here

<Grid HorizontalAlignment="Center" VerticalAlignment="center">
   <Path
      Width="100"
      Data="M 100,119 C 102,109 107,101 120,100 L 220,100 
            C 231,101 241,110 240,120 L 241,159 C 241,170 230,180 220,180 
            L 120,180 C 111,180 100,171 100,160 L 100.5,139.5 L 70,120 Z"
      Fill="#4F81BD"
      Stretch="uniform"
      Stroke="#385D8A"
      StrokeThickness="3"/>
   <TextBlock
      MaxWidth="280"
      Margin="30,15,10,10"
      Text="bla bla bla..."
      TextWrapping="Wrap"/>
</Grid>
+4
1

, , . , , , " ", .

, (, P - ):

  • (O) , Q1, Q2.
  • PQ1, PO, PQ2 , P1, P2, P3. , here.
  • PP3, Q.
  • QP1P2.

, , .

DBcl8.jpg

+2

Source: https://habr.com/ru/post/1540829/


All Articles