Interest rateIt is either the cost of money borrowed or reward for saving the money. Generally, interest rates are calculated in terms of percentages. Public borrow money from banks in the form of loans. Banks borrows money from public in form of deposits and pays interest for money deposits. Interest rates can beFixed interest rates: charges are fixed throughout the loan lifeVariable interest rates: charges changes with prime rateIncrease in interest rates results in the following −Decrease in inflation.Decrease in circulation of money in market.Expense borrowing.Decrease in demand of goods and services.Price of goods and services will decrease.Decrease of interest ... Read More
Let us first see what floating currency is and fixed currency −Floating currencyA floating currency is a monetary system that is not backed by gold or assets. Based on supply and market expectations value of the currency fluctuates. The value of a currency is determined by the level of foreign reserves and global demand.If the currency has demand, then the value of currency appreciates and impacts country’s exports (lower the demand for exported goods). To attract consumers, an exporter has to low their prices which decreases their profits and faces risk of going out of business.If the currency demand is ... Read More
The fixed for floating and fixed to fixed swaps are explained below −Fixed for floating swapFixed for floating swap is an agreement between the parties, which involves swapping of fixed rate loan (cash flow interest) of one party to floating rate loans of other party. A company goes for fixed for floating swaps to reduce interest expenses and for match assets and liabilities that are more sensitive to floating interest rates.Reasons to go for fixed for the floating swap are as follows −Reduces interest rates.Diversifies risk.Performs financial hedges (expecting decreasing of interest rates).Match between assets and liabilities, which are sensitive ... Read More
Reading is often treated as a leisure activity but very few people know that it is actually a technique. Skimming and scanning are the two often confused techniques for reading or to be specific reading strategies.SkimmingSkimming often refers to the way in which one reads at a faster rate to gain the general idea about the text without paying heed to the intentional and detailed meaning of the text.For Example - When one reads the text only in order to understand the thesis statement, in one or two lines.Skimming is achieved by reading that text only which is considered to be ... Read More
In this article, we are going to learn how to set a custom key to enable/disable uniform scaling in FabricJS. In FabricJS, an object gets transformed proportionally when dragged from its corners. This is called uniform scaling. However, we can enable/disable this behavior by using the uniScaleKey.Syntaxnew fabric.Canvas(element: HTMLElement|String, { uniScaleKey: String }: Object)Parameterselement − This parameter is the element itself which can be derived using Document.getElementById() or the id of the element itself. The FabricJS canvas will be initialized on this element.options (optional) − This parameter is an Object which provides additional customizations to our canvas. Using ... Read More
How many times does it happen when we read a text we are able to relate to? We want to read more and more of it. Simply because things get into our head with so much ease and so much simplicity.But sometimes, exactly opposite to this happens. We fall in a situation, wherein we do not know as to what is wrong with the text, but we try hard to pick it up, and again get either bored of it or feel confused because of extreme verbosity used by the author in the text.All this happens due to the interplay ... Read More
In this article, we are going to learn how to enable the selection of an object only when it is fully contained in the selection area using FabricJS. We can use the selectionFullyContained property to achieve this.Syntaxnew fabric.Canvas(element: HTMLElement|String, { selectionFullyContained: Boolean }: Object)Parameterselement − This parameter is the element itself which can be derived using Document.getElementById() or the id of the element itself. The FabricJS canvas will be initialized on this element.options (optional) − This parameter is an Object which provides additional customizations to our canvas. Using this parameter, properties such as color, cursor, border width, and ... Read More
In this article, we are going to learn about how to disable uniform scaling in canvas using FabricJS. In FabricJS, an object gets transformed proportionally when dragged from the corners. However, we can disable this behavior by using the uniformScaling propertySyntaxnew fabric.Canvas(element: HTMLElement|String, { uniformScaling: Boolean }: Object)Parameterselement − This parameter is the element itself which can be derived using document.getElementById() or the id of the element itself. The FabricJS canvas will be initialized on this element.options (optional) − This parameter is an Object which provides additional customizations to our canvas. Using this parameter, properties such as color, ... Read More
In this article, we are going to create a canvas with a not-allowed cursor using FabricJS. A not-allowed cursor can be used to indicate that any action that has been requested, will not be carried out. not-allowed is one of the native cursor style available which can be used in the FabricJS canvas too.FabricJS provides various types of cursors like default, all-scroll, crosshair, col-resize, row-resize etc. which are reusing the native cursor underhood. Each of these cursors look slightly different based on operating system.Syntaxnew fabric.Canvas(element: HTMLElement|String, { defaultCursor: String }: Object)Parameterselement − This parameter is the element itself which ... Read More
In this article, we are going to how to add an object to the canvas by using the add method. After creating our canvas, we can populate it with various objects available in FabricJS like fabric. Circle, fabric.Ellipse or fabric.Line, etc.Syntaxcanvas.add(object: fabric.Object);Parametersobject − This parameter is of type fabric.Object and holds the objects that we want to add to our canvas.Example 1Creating the instance of an object inside canvas.add()Instead of creating the instance of an object first and then rendering it on the canvas by using the add() method, we can directly do so inside the add() method. Here is ... Read More