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

  • Home
  • SEARCH
  • 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 157375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:29:35+00:00 2026-05-11T10:29:35+00:00

On a canvas I have an ellipse rotated by a RotateTransform through animation. I

  • 0

On a canvas I have an ellipse rotated by a RotateTransform through animation. I wish to add a line with one end attached to a point on the ellipse. Can I somehow bind to a point on the ellipse?

  • 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. 2026-05-11T10:29:36+00:00Added an answer on May 11, 2026 at 10:29 am

    You can animate both the Ellipse and the line together, like so:

    <Canvas xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'>     <Canvas.Resources>         <PathGeometry x:Key='lineEndPath'>             <PathFigure StartPoint='25,50'>                 <ArcSegment IsLargeArc='True' Point='100,50' Size='25,25' SweepDirection='Clockwise'/>                 <ArcSegment IsLargeArc='True' Point='25,50' Size='25,25' SweepDirection='Clockwise'/>             </PathFigure>         </PathGeometry>     </Canvas.Resources>     <Canvas.Triggers>         <EventTrigger RoutedEvent='Canvas.Loaded'>             <BeginStoryboard>                 <Storyboard>                     <DoubleAnimation Duration='0:0:5' From='0' RepeatBehavior='Forever' Storyboard.TargetName='rotTF' Storyboard.TargetProperty='Angle' To='360'/>                     <PointAnimationUsingPath Duration='0:0:5' PathGeometry='{StaticResource lineEndPath}' RepeatBehavior='Forever' Storyboard.TargetName='lineEndPoint' Storyboard.TargetProperty='Point'/>                 </Storyboard>             </BeginStoryboard>         </EventTrigger>     </Canvas.Triggers>     <Ellipse Width='75' Height='50' Canvas.Left='25' Canvas.Top='25' Stroke='Black'>         <Ellipse.RenderTransform>             <RotateTransform x:Name='rotTF' CenterX='37.5' CenterY='25'/>         </Ellipse.RenderTransform>     </Ellipse>     <Path Stroke='Black' StrokeThickness='1.0'>         <Path.Data>             <PathGeometry>                 <PathFigure StartPoint='0,0'>                     <LineSegment x:Name='lineEndPoint'/>                 </PathFigure>             </PathGeometry>         </Path.Data>     </Path>     <Path Data='{StaticResource lineEndPath}' Stroke='Black' StrokeDashArray='2,0,0' StrokeThickness='1.0'/> </Canvas> 

    We animate one end of a LineSegment with a PointAnimationUsingPath, and set the path to a circle (shown by the dotted line).

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

Sidebar

Ask A Question

Stats

  • Questions 74k
  • Answers 74k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Yes. NUnit works well on .NET 3.0 and 3.5 too.… May 11, 2026 at 2:22 pm
  • added an answer PDO::errorInfo() or PDOStatement->errorInfo() As for exceptions, check the docs for… May 11, 2026 at 2:22 pm
  • added an answer Bah, I figured it out. For some reason with the… May 11, 2026 at 2:22 pm

Related Questions

I have a little databinding-problem. (I usually have...) This is the error I get
Having read all the StackOverflow entries regarding Model-View-ViewModel architecture along with most of the
I have a Silverlight application which has on it a Canvas. On that Canvas,
I have a board as a canvas with several shapes drawn on it, some

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.