Vrundesha Joshi has Published 368 Answers

How to draw an SVG file on an HTML5 canvas?

Vrundesha Joshi

Vrundesha Joshi

Updated on 16-Dec-2021 10:23:29

To draw SVG onto canvas, you need to use SVG image. Firstly, use the <foreignObject> element which contains the HTML. After that, you need to draw the SVG image into the canvas.ExampleYou can try the following code to draw an SVG file on an HTML canvas<!DOCTYPE html> <html>    <head> ... Read More

Usage of CSS align-content property stretch value

Vrundesha Joshi

Vrundesha Joshi

Updated on 03-Jul-2020 10:50:46

Use the align-content property with value stretch stretches the flex lines.ExampleYou can try to run the following code to implement the stretch value −Live Demo<!DOCTYPE html> <html>    <head>       <style>          .mycontainer {             display: flex;           ... Read More

How to create image filters with CSS

Vrundesha Joshi

Vrundesha Joshi

Updated on 03-Jul-2020 07:38:10

You can try to run the following code to create image filters such as blur, contrast,  brightness with CSS −ExampleLive Demo<!DOCTYPE html> <html>    <head>       <style>          img {             height: auto;             float: ... Read More

Intel 8212 in mode 1

Vrundesha Joshi

Vrundesha Joshi

Updated on 30-Jun-2020 05:19:09

The figure below shows the working of 8212 in mode 1Fig: Working of 8212 in mode 1We use this mode generally when we want 8212 to function as an output port. Here, microprocessor drives DI7-0, and the device at the output receives the information on Do7-0. The clock to the ... Read More

How to create a left-arrow button on a Toolbar on iPhone/iPad?

Vrundesha Joshi

Vrundesha Joshi

Updated on 30-Jun-2020 05:16:57

To create a button on toolbar we'll need to use two different components of iOS and another image that is a back arrow. Before that let's see what those components areToolbar − Toolbar is a native iOS component that is used to display items or toolbar on the bottom of ... Read More

How to replace a character in Objective-C String for iPhone SDK?

Vrundesha Joshi

Vrundesha Joshi

Updated on 29-Jun-2020 14:06:41

To replace a character in objective C we will have to use the inbuilt function of Objective C string library, which replaces occurrence of a string with some other string that we want to replace it with.To create a string in objective C we need to write −NSString *str = ... Read More

How to navigate from one view controller to another in iOS?

Vrundesha Joshi

Vrundesha Joshi

Updated on 29-Jun-2020 14:02:43

To navigate from one view Controller to another view Controller in iOS, we need to use Navigation controller. Navigation controller manages a stack of View controller when we go from one view to another view.Navigation from one view controller to another view controller can be done like mentioned below.Step 1 ... Read More

How to use Bold & Non-Bold Text In A Single UILabel in iOS/iPhone?

Vrundesha Joshi

Vrundesha Joshi

Updated on 29-Jun-2020 13:59:33

To use a Bold and a regular/Non-Bold text in a single UILabel, we can either use a storyboard editor to achieve the same, or we can do it programmatically. Let’s see both of them.Method One − Editing with StoryboardSelect the label you want to edit, go to it’s attribute inspector.From ... Read More

Working of the 8257 DMA controller

Vrundesha Joshi

Vrundesha Joshi

Updated on 29-Jun-2020 12:56:38

Initially the processor programs 8257. Here the processor behaves as the master and 8257 here works in the slave mode. The channel of the program is obtained by writing to the Address Register from the starting address of memory for transferring Data, and writing to the Counter Register where the ... Read More

Can we use LIKE and OR together in MySql?

Vrundesha Joshi

Vrundesha Joshi

Updated on 29-Jun-2020 11:17:03

You can use LIKE with OR operator which works same as IN operator.Let us see the syntax for both the cases −Case 1 − Using Like with OR operator.select *from yourTableName where yourColumnName Like ‘Value1’ or yourColumnName Like ‘Value2’ or yourColumnName Like ‘Value3’ . . . NCase 2 − Using ... Read More

1 2 3 4 5 6 7 ... 37 Next
Advertisements