Questions tagged [catextlayer]

A CATextLayer is a Core Animation layer for showing text. It allows the displaying of simple and attributed strings as well.

A CATextLayer is a Core Animation layer for showing text. It allows the displaying of simple and attributed strings as well by assigning a CFString or CFAttributedStringto its property string.

Documentation:

140 questions
1
vote
1 answer

Properties Not Applying on CATextLayer

I am trying to bring my CATextLayer text (which is a number "1") in center of view, but what I got is very small text and not in center as shown in this image. Red circle shown is a CALayer object itself which is animated, so I dont want to add…
NightFury
  • 13,436
  • 6
  • 71
  • 120
1
vote
0 answers

Ipad app not showing values after decimal point when German region is selected

In app, which I am developing, I am dealing with the decimal values. I am priting them using CATextLayer. But, when we select Region German from settings of device, it does not show value after decimal point. But when US/UK/AUSTRALIA region is…
1
vote
1 answer

Issue displaying spanish letter Ñ in CATextLayer in iOS

I am trying to display words with spanish letter Ñ but the letter only appears without the diacritical tilde as capital N. However, the small letter ñ is being displayed properly. Any idea how to display the letter in CATextLayer with default font…
user859375
  • 3,529
  • 5
  • 21
  • 22
0
votes
1 answer

CATextLayer in Interface Builder?

I would like to use a CATextLayer to display some partially bolded text in the form of a NSAttributedString - but would still like to use the convenience of IB for positioning. Is there a way to drop in a CATextLayer with interface builder? Or what…
trapper
  • 11,716
  • 7
  • 38
  • 82
0
votes
1 answer

CATextlayer with AttributedString in MonoTouch

I am trying to create a "label" with different styles on different words, kind of like described here. The problem is - as far as I can see - the MonoTouch implementation of UATextLayer does not accept assigning an NSAttributedString to the String…
Johan
  • 780
  • 7
  • 22
0
votes
1 answer

Why would a CATextLayer object have inconsistent CAKeyFrameAnimation?

What is intended: A button click requests that a CATextLayer object's string value is animated until being stopped by another button click request. There are two separate buttons responsible for these actions so that the actions are not…
0
votes
1 answer

CATextLayer not scrolling

I am currently writing up an app that reads in a file and puts the headings into a list. When each heading is clicked, it switches to a controller with a CATextLayer containing the text associated with that heading (generally a few paragraphs). …
joverboard
  • 335
  • 1
  • 3
  • 13
0
votes
2 answers

Mix CATextLayer and CAScrollLayer

I need a scrollable CATextLayer to display a NSAttributedString. Is there any way to mix both layers, or to add a scroll to CATextLayer or to display text in a CAScrollLayer? Sorry if the question isn't very exact. Thanks! EDIT: I haven't seen that…
Garoal
  • 2,364
  • 2
  • 19
  • 31
0
votes
2 answers

iOS - Disable or editing animations of CATextLayer

I working with a CATextLayer var and when try to increase the font or type something in this string there is an animation effect with these actions , How can I edit or disable the animation of CATextLayer ?
iOS.Lover
  • 5,923
  • 21
  • 90
  • 162
0
votes
0 answers

Changing the color latex render in Flutter

I was trying to render a latex document using "flutter_tex" package on a dark background(Not in Dark Mode) so the render must be white for contrast reasons.....but the texts only change color while the the renders wont change to white unless I…
0
votes
0 answers

Blurry animation of CATextLayer at start

I am animating CATextLayer font size and i see some strange blurring of text at the start of animation. I used CATextLayer because previous attempts with UILabel and scale animation resulted in similar crappy animation. Definition: CATextLayer…
DixieFlatline
  • 7,895
  • 24
  • 95
  • 147
0
votes
1 answer

How to measure character bounds within a text shown by CATextLayer?

I am fresh to IOS development. I am looking for a way to retrieve detailed text layout information (such as ascent, descent, advance width etc). In android, I am able to do this through Paint.getTextWidths. Then I am able to draw bounds or do hit…
Polar Bear
  • 71
  • 1
  • 6
0
votes
2 answers

Using a CATextLayer to Mask Out From Another CALayer

For whatever reason, I can't get this to work with a CATextLayer. I suspect it's totally obvious, and I can't see the forest for the trees, but what I need to do, is use a CATextLayer to mask a "hole" into a CAGradientLayer (so the effect is a…
Chris Marshall
  • 4,910
  • 8
  • 47
  • 72
0
votes
1 answer

Animate `CATextLayer` font-size from bottom left

is it possible to animate the font-size of a CATextLayer, starting from bottom left? I am able to animate the CATextLayer with the following code, but it is always starting from top-left: let fontSizeAnimation = CABasicAnimation(keyPath:…
user3532505
  • 429
  • 1
  • 7
  • 18
0
votes
1 answer

how to add test on a vedio or CAtextlayer. i want to show text on the recorded videos. and when i do it audo is fine video go blank.Thanks in Advance

I am recording 3 videos and merging them into one. I need text on all the videos. am doing it but no success. the video goes black and the audio comes fine. When I do it without CALayer everything is good Need Help. i there something wring with the…