필터 지우기
필터 지우기

Is there a way to use fill with animatedline?

조회 수: 1 (최근 30일)
Cye
Cye 2024년 5월 15일
댓글: Cye 2024년 5월 15일
I'm generating animations consisiting of various closed curves (tiles) moving about each other. I'm presently using animated line to accomplish this, but I would like to try using diffeerent colors for the individual tiles. I cannot find any way to fill them in the context of the animated line, so I'm asking if it's possible.

채택된 답변

Walter Roberson
Walter Roberson 2024년 5월 15일
No, animated lines cannot handle fill.
Consider instead creating a hgtransform for each tile. To move the individual tiles, set the Matrix property to a transformation -- possibly with the aid of makehgtform to set the Translation (and possibly the rotation) of the individual object.
  댓글 수: 1
Cye
Cye 2024년 5월 15일
Thanks for your prompt and thoughtful reply.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Animation에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by