White text with black outline?

조회 수: 14 (최근 30일)
Charles Johnson
Charles Johnson 2011년 8월 25일
Hello,
I'd like to know if it is possible to give text an outline that directly surrounds the text. I know there is a way to draw a boxed outline around the "extent," but this is not what I want.
Any help would be appreciated!
  댓글 수: 1
Jan
Jan 2011년 8월 25일
It is not clear to me: Should the outline appear around any character, and then as a rectangle or following the characters shape? Or do you want a rectangle around the complete string, but as tight as possible?

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

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2011년 8월 25일
If you could find a system font that does it, something close to this?
h=text(.2,.2,'text','fontsize',50,'fontname','Castellar')
Find a link for "Hollow and outlined Fonts" http://www.fontcenter.com/categories/Hollow_and_Outlined/index.html. Use your own discretion.

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by