How to achieve this font appearance? - iphone

How can I acheive a font like this?
It's the name below icons on the iOS platform. Is it Helvetica, and how can I achieve the soft shadow that it has in code? Thanks in advance!

Reposting my comment here as requested:
This answer may help.
As discussed in the comments, that font is indeed Helvetica, at least on standard-resolution devices. I'm not too sure if it's Neue Helvetica on retina display devices.

you can do it using Quartz 2D.
A shadow is an image painted
underneath, and offset from, a
graphics object such that the shadow
mimics the effect of a light source
cast on the graphics object, as shown
in Figure 7-1. Text can also be
shadowed. Shadows can make an image
appear three dimensional or as if it’s
floating.
look here:
http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_shadows/dq_shadows.html%23//apple_ref/doc/uid/TP30001066-CH208-TPXREF101
good luck

EDIT
BoltClock answered it already in a comment. Follow his link.
(I just discovered he said the same thing, but I want to draw attention to it so I'll leave this answer -- just don't check it, or BoltClock, add it as answer.)
This answer to a previous similar question explains how to do it. Turns out it's pretty simple.

Related

Blur Effect in Flutter for whole Application

Here, I made the flutter application that is transparent and now I want it to be blur. The background screen we see from the application (i.e., windows) should be seen with the blur effect. If anyone have the idea on how to, please share. I research a lot but the packages such as GlassMorphism and other ways such as BackDropFilter does not work for this question.
Things to consider for the answer of this question
I meant blur not opacity. There is difference in blur and opacity. Blur is for example: just as BackDropFilter Gives to the Image. Opacity is different. If i really wanted what opacity provided then i wouldn't have asked the question, as i have already used to make it transparent. Plus, I hope the voters would think twice about it.
I would be really thankful for the answer.
Maybe flutter_acrylic might help you. You can play with WindowEffect.aero & WindowEffect.acrylic to meet your needs.
Use background color property with opacity.
backgroundColor : Colors.redAccent.withOpacity(0.5),
More Detail : https://api.flutter.dev/flutter/dart-ui/Color/withOpacity.html

3D Text visible from all angles

I'm making a soccer stadium, and I want to write the stadium name on the entrance of the stadium. But, when I'm in the stadium, or somewhere else, I also see the text. From all angles.
I know the help pages of Unity about 3D text and I read a lot of questions and answers about this problem. But I just can't fix it.
I tried to add a shader to a material, and I added the material to the 3D text, but then I can't add a font texture. I have the Arial font in my assets folder, but when I press 'select font texture', this font isn't in the options I can choose.
Isn't there another option to write text on a wall, on a way you only can see it from the front?
So, on the second picture I should't see the text:
Please don't think I'm lazy and I didn't Google, because I have searched for hours. But I really don't get it, it's probably something really stupid but I don't know what I'm doing wrong. I'm a beginner with Unity, especially with shaders and importing/adding fonts.
You can try https://www.assetstore.unity3d.com/en/#!/content/84126, its free and it will give the text in a form of mesh, so it will be just like any other gameobject, you can interact with it, use physics on it, etc.
There are multiple possible solutions, but the main ones are these:
You set the Canvas for that text to world-space.
To implement this solution, you can follow the official tutorial on the subject.
You can use a text-to-mesh conversion plugin.
There are many to choose from, but one that was officially acquired by Unity and is used by most indie developers when they need such functionality is Text Mesh Pro.

Usage of "Don't Clear" in "Clear Flags" property of Camera

In Unity's Camera component, there is a property Clear Flags which allows to choose from four options: Skybox, Solid Color, Depth Only and Don't Clear.
As documentation says:
Don’t clear
This mode does not clear either the color or the depth buffer. The
result is that each frame is drawn over the next, resulting in a
smear-looking effect. This isn’t typically used in games, and would
more likely be used with a custom shader.
Note that on some GPUs (mostly mobile GPUs), not clearing the screen
might result in the contents of it being undefined in the next frame.
On some systems, the screen may contain the previous frame image, a
solid black screen, or random colored pixels.
"This isn't typically used in games and would more likely be used with a custom shader"
So my question is :
How to use it in a custom shader and What effects can be achieved by using it?
Has anyone ever used it or has a good explanation about the basic concept.
Thanks
An idea would be those enemy encounter effects in Final Fantasy games. Look at the top edge of this gif to see the smearing effects of previous frames. This is probably combined with blur/rotation.
Thread question is a bit old, however I had this problem and solved it.
I've made a Screen Image Effect that reproduces this effect, you can see it here:
https://github.com/falconmick/ClearFlagsMobile
Hope this helps!

How to clear the selected point color of UIImageView?

I am creating an app that has drawing module and what i am try to do that i have a image and i have to draw text on it.Now i need to remove the text by eraser and draw pad(UIImageView) height must be infinite.So i need to scroll the image View as well as apply drawing on it also.If anyone have any answer then please reply
I had answered a question like this before .... Maybe this would help you :) Also you would see a long discussion which I think would be helpful ....
Writing on ImageView in Iphone

Easy way to blur label

Need to create blurred shadow under UILabel. Same text but with blur and offset. Since NSShadow not supported in the iPhone SDK only way I see is Quartz render. Is there simpliest solution ?
Thanks
I provide code to draw a shadow around a UILabel in my answer to this question. For an example of this in action, see the sample project I've created. A shadow of the same color as the text provides a nice blurring effect to the text in a label.
For 3.1 and below, no. You must use CoreGraphics.
For 3.2 and above, you can get the layer, and set the shadowRadius property.