Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1061883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:32:25+00:00 2026-05-16T18:32:25+00:00

Just wondering how I might go about drawing arrow heads along a path. The

  • 0

Just wondering how I might go about drawing arrow heads along a path. The path will change direction and go through several different points. The arrow heads are designed to show the user which direction along the path they need to travel.

I’ve tried to use a brush but it didn’t work as I need the arrow heads to orientate them selfs along the path…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T18:32:26+00:00Added an answer on May 16, 2026 at 6:32 pm

    See Path Animations Overview and MatrixAnimationUsingPath

    It can be used to move a control along a PathGeometry and if you set DoesRotateWithTangent the control will also rotate along the direction of the path.

    EDIT1:

    <Page.Resources>
        <PathGeometry x:Key="Path" x:Shared="False" Figures="M 10,100 C 35,0 135,0 160,100 180,190 285,200 310,100"/>
    </Page.Resources>
    <Canvas Width="400" Height="400">
        <Path Data="{StaticResource Path}" Stroke="Blue" StrokeThickness="1"/>
        <Path
            x:Name="Arrow1"
            Stretch="Fill"
            Width="16" Height="16" StrokeLineJoin="Miter"
            Data="M 0 -5 L 10 -5 M 5 0 L 10 -5 L 5 -10" 
            Stroke="Black" StrokeThickness="3">
            <Path.RenderTransform>
                <TransformGroup>
                    <TranslateTransform X="-8" Y="-8"/>
                    <MatrixTransform>
                        <MatrixTransform.Matrix>
                            <Matrix/>
                        </MatrixTransform.Matrix>
                    </MatrixTransform>
                </TransformGroup>
            </Path.RenderTransform>
            <Path.Triggers>
                <EventTrigger RoutedEvent="Path.Loaded">
                    <BeginStoryboard>
                        <Storyboard>
                            <MatrixAnimationUsingPath
                                Storyboard.TargetName="Arrow1"
                                Storyboard.TargetProperty="RenderTransform.Children[1].Matrix"                                
                                DoesRotateWithTangent="True"
                                Duration="0:0:5" 
                                BeginTime="0:0:0"
                                RepeatBehavior="Forever" PathGeometry="{StaticResource Path}" >                               
                            </MatrixAnimationUsingPath>
                        </Storyboard>
                    </BeginStoryboard>
                </EventTrigger>
            </Path.Triggers>
        </Path>
    </Canvas>
    

    EDIT2: Calculating how many arrows you need

    I assume you’re creating a custom control and are programmatically adding arrows?
    If so i think the simplest way would be to specify a Duration for a single loop and a BeginTimeGap, the time between the BeginTimes of subsequent arrows. The number of arrows you have to add would be Duration/BeginTimeGap, or in simplified code:

    while (BeginTime < Duration) 
    { 
        //add arrow with BeginTime and Duration; 
        BeginTime += BeginTimeGap; 
    }
    

    Getting the right speed and spacing between arrows would come down to tweaking these two values.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok, this might just be a dumb question, but I was wondering if Bluetooth
I was just wondering how others are going about testing controller actions in asp.net
Just working away with CSS/HTML and wondering when I might hope to see a
I'm just wondering about the following 2 approaches. First: SomeViewController *someViewController = [[SomeViewController alloc]
I'm wondering how you might go about implementing multiple form actions when submitting a
Ok this might be a hardcore question? I was just wondering if there was
I was just wondering about the pros and cons of submitting metadata and changing
I am wondering if anyone out there knows how I might go about getting
just wondering if there is a way to reduce the amount of code needed
Just wondering: I'm trying to set up an adaptive image handler in Coldfusion8, which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.